linenoise icon indicating copy to clipboard operation
linenoise copied to clipboard

Fix the subsequent two ignored key hits after escaping from completion mode.

Open w32zhong opened this issue 9 years ago • 0 comments

Do not trigger ESC sequence handler after hit ESC key to "escape" completion mode.

In completion, when you hit ESC to go back in original buffer, the ESC is further passed to linenoiseEdit() switch handler, and this ESC will trigger a "escape sequence" so that the next sequence of keys (usually the next two hits) will be "swallowed" unexpectedly.

w32zhong avatar Apr 19 '16 01:04 w32zhong