mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix verbose warning being emitted
Fixes Ruby Bug 16281.
This commit is contained in:
parent
5f6fbf8725
commit
d6ed7a984c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue