mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
69130e1614
commit
9fb18e6314
1 changed files with 1 additions and 1 deletions
|
@ -1430,7 +1430,7 @@ class Reline::LineEditor
|
|||
if @waiting_operator_proc
|
||||
if VI_MOTIONS.include?(method_symbol)
|
||||
old_cursor, old_byte_pointer = @cursor, @byte_pointer
|
||||
@vi_arg = @waiting_operator_vi_arg if @waiting_operator_vi_arg > 1
|
||||
@vi_arg = @waiting_operator_vi_arg if (@waiting_operator_vi_arg || 1) > 1
|
||||
block.(true)
|
||||
unless @waiting_proc
|
||||
cursor_diff, byte_pointer_diff = @cursor - old_cursor, @byte_pointer - old_byte_pointer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue