diff options
Diffstat (limited to 'lib/reline')
-rw-r--r-- | lib/reline/line_editor.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 292a161a85..5991ab2301 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -624,6 +624,7 @@ class Reline::LineEditor DIALOG_DEFAULT_HEIGHT = 20 private def render_dialog(cursor_column) + return unless Encoding.default_external == Encoding::UTF_8 @dialogs.each do |dialog| render_each_dialog(dialog, cursor_column) end |