ruby-changes:67299
From: aycabta <ko1@a...>
Date: Sun, 29 Aug 2021 20:30:40 +0900 (JST)
Subject: [ruby-changes:67299] 2ec3977ce2 (master): [ruby/reline] Clear after cursor
https://git.ruby-lang.org/ruby.git/commit/?id=2ec3977ce2 From 2ec3977ce2a9919417303851bbd14ca019495d8a Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sun, 22 Aug 2021 00:58:38 +0900 Subject: [ruby/reline] Clear after cursor https://github.com/ruby/reline/commit/4d7503cd1f --- lib/reline/line_editor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index d3cc719..c37cdad 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -693,7 +693,7 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L693 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) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/