diff options
| author | aycabta <aycabta@gmail.com> | 2021-08-22 00:58:38 +0900 |
|---|---|---|
| committer | aycabta <aycabta@gmail.com> | 2021-08-29 20:30:32 +0900 |
| commit | 2ec3977ce2a9919417303851bbd14ca019495d8a (patch) | |
| tree | 88c699a37e99199bdbdbf226c3a9ed7aeceb3823 | |
| parent | b95e5f4a41a743bce2c15f0cc7cb408fecf49aa1 (diff) | |
[ruby/reline] Clear after cursor
https://github.com/ruby/reline/commit/4d7503cd1f
| -rw-r--r-- | lib/reline/line_editor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index d3cc719428..c37cdad8e1 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -693,7 +693,7 @@ class Reline::LineEditor Reline::IOGate.move_cursor_column(@dialog_column) @output.write "\e[39m\e[49m#{' ' * DIALOG_WIDTH}\e[39m\e[49m" end - #Reline::IOGate.erase_after_cursor + Reline::IOGate.erase_after_cursor move_cursor_down(1) if i < (dialog_vertical_size - 1) end move_cursor_up(dialog_vertical_size - 1 + @dialog_vertical_offset) |
