Skip to content

Commit

Permalink
During completion, accept-line should keep the suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed May 8, 2017
1 parent ee66c21 commit 346cf06
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4233,7 +4233,6 @@ protected boolean doMenu(List<Candidate> original, String completed) {
String chars = getString(REMOVE_SUFFIX_CHARS, DEFAULT_REMOVE_SUFFIX_CHARS);
if (SELF_INSERT.equals(ref)
&& chars.indexOf(getLastBinding().charAt(0)) >= 0
|| ACCEPT_LINE.equals(ref)
|| BACKWARD_DELETE_CHAR.equals(ref)) {
buf.backspace(completion.suffix().length());
}
Expand Down

0 comments on commit 346cf06

Please # to comment.