mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
c8a07a1231
commit
4f5166e790
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ class Reline::LineEditor
|
||||||
end
|
end
|
||||||
dialog.set_cursor_pos(cursor_column, @first_line_started_from + @started_from)
|
dialog.set_cursor_pos(cursor_column, @first_line_started_from + @started_from)
|
||||||
dialog_render_info = dialog.call
|
dialog_render_info = dialog.call
|
||||||
dialog.width = dialog_render_info.width if dialog_render_info.width
|
dialog.width = dialog_render_info.width if dialog_render_info and dialog_render_info.width
|
||||||
old_dialog = dialog.clone
|
old_dialog = dialog.clone
|
||||||
if dialog_render_info and dialog_render_info.contents and not dialog_render_info.contents.empty?
|
if dialog_render_info and dialog_render_info.contents and not dialog_render_info.contents.empty?
|
||||||
height = dialog_render_info.height || DIALOG_HEIGHT
|
height = dialog_render_info.height || DIALOG_HEIGHT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue