mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Change encoding of completion strings
This commit is contained in:
parent
60c53ff6ee
commit
fe0df7dcfc
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ class Reline::LineEditor
|
|||
target = before
|
||||
end
|
||||
postposing = @line.byteslice(@byte_pointer, @line.bytesize - @byte_pointer)
|
||||
[preposing, target, postposing]
|
||||
[preposing.encode(@encoding), target.encode(@encoding), postposing.encode(@encoding)]
|
||||
end
|
||||
|
||||
def confirm_multiline_termination
|
||||
|
|
Loading…
Reference in a new issue