mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
The ed_move_to_beg is different from vi_first_print
This commit is contained in:
parent
65fdb90325
commit
3428922437
5 changed files with 36 additions and 4 deletions
|
@ -407,7 +407,7 @@ class Reline::Unicode
|
|||
[byte_size, width]
|
||||
end
|
||||
|
||||
def self.ed_move_to_begin(line)
|
||||
def self.vi_first_print(line)
|
||||
width = 0
|
||||
byte_size = 0
|
||||
while (line.bytesize - 1) > byte_size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue