1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Clear after cursor

4d7503cd1f
This commit is contained in:
aycabta 2021-08-22 00:58:38 +09:00
parent b95e5f4a41
commit 2ec3977ce2

View file

@ -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)