mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
d41d41da38
commit
b023ef8594
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ class Reline::LineEditor
|
||||||
@screen_height = @screen_size.first
|
@screen_height = @screen_size.first
|
||||||
reset_variables(prompt, encoding: encoding)
|
reset_variables(prompt, encoding: encoding)
|
||||||
@old_trap = Signal.trap(:INT) {
|
@old_trap = Signal.trap(:INT) {
|
||||||
|
clear_dialog
|
||||||
if @scroll_partial_screen
|
if @scroll_partial_screen
|
||||||
move_cursor_down(@screen_height - (@line_index - @scroll_partial_screen) - 1)
|
move_cursor_down(@screen_height - (@line_index - @scroll_partial_screen) - 1)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue