mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Remove duplicated line of code
Co-authored-by: Quentin Sabah <quentin.sabah@gmail.com> https://github.com/ruby/reline/commit/5526e9f7ee
This commit is contained in:
parent
80a7358cfc
commit
ad24eaabfd
1 changed files with 0 additions and 1 deletions
|
@ -2345,7 +2345,6 @@ class Reline::LineEditor
|
|||
new_pointer = [@byte_pointer, @line_index]
|
||||
@previous_line_index = @line_index
|
||||
@byte_pointer, @line_index = @mark_pointer
|
||||
@byte_pointer, @line_index = @mark_pointer
|
||||
@cursor = calculate_width(@line.byteslice(0, @byte_pointer))
|
||||
@cursor_max = calculate_width(@line)
|
||||
@mark_pointer = new_pointer
|
||||
|
|
Loading…
Add table
Reference in a new issue