Rewrite the readline redraw code to make the screen lines explicit

This commit is contained in:
Kovid Goyal
2022-10-16 20:52:53 +05:30
parent f945ef8ee8
commit 3c4a411cad
7 changed files with 171 additions and 37 deletions

View File

@@ -47,6 +47,12 @@ const (
ActionCursorRight
ActionEndInput
ActionAcceptInput
ActionCursorUp
ActionHistoryPreviousOrCursorUp
ActionCursorDown
ActionHistoryNextOrCursorDown
ActionHistoryNext
ActionHistoryPrevious
)
type Readline struct {