diff options
-rw-r--r-- | lib/reline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline.rb b/lib/reline.rb index f8ffd5a707..0873e9bcc3 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -319,7 +319,7 @@ module Reline private def may_req_ambiguous_char_width @ambiguous_width = 2 if Reline::IOGate == Reline::GeneralIO or STDOUT.is_a?(File) - return if @ambiguous_width + return if ambiguous_width Reline::IOGate.move_cursor_column(0) print "\u{25bd}" @ambiguous_width = Reline::IOGate.cursor_pos.x |