Skip to content

Commit

Permalink
Save last breaking point to complete
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Dec 25, 2019
1 parent 923f97d commit c5bb953
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/reline/line_editor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,7 @@ def retrieve_completion_block(set_completion_quote_character = false)
elsif not quote and slice =~ word_break_regexp
rest = $'
i += 1
before = @line.byteslice(i, @byte_pointer - i)
break_pointer = i
else
i += 1
Expand Down

0 comments on commit c5bb953

Please sign in to comment.