diff --git a/comp.go b/comp.go index 84aee0f..66abaf2 100644 --- a/comp.go +++ b/comp.go @@ -32,6 +32,7 @@ var ( "delete", "put", "clear", + "draw", "redraw", "reload", "read", diff --git a/doc.go b/doc.go index 7a00517..04c6e63 100644 --- a/doc.go +++ b/doc.go @@ -44,6 +44,7 @@ The following commands are provided by lf with default keybindings: The following commands are provided by lf without default keybindings: + draw draw the ui sync synchronizes yanked/deleted files with server echo prints its arguments to the message line cd changes working directory to its argument diff --git a/docstring.go b/docstring.go index fab09cc..7c12645 100644 --- a/docstring.go +++ b/docstring.go @@ -48,6 +48,7 @@ The following commands are provided by lf with default keybindings: The following commands are provided by lf without default keybindings: + draw draw the ui sync synchronizes yanked/deleted files with server echo prints its arguments to the message line cd changes working directory to its argument diff --git a/eval.go b/eval.go index 2125518..3536ad2 100644 --- a/eval.go +++ b/eval.go @@ -339,6 +339,7 @@ func (e *callExpr) eval(app *app, args []string) { if err := sendRemote("send sync"); err != nil { app.ui.printf("clear: %s", err) } + case "draw": case "redraw": app.ui.sync() app.ui.renew()