yhirose/cpp-linenoise

Tab gets appended after auto-completion

sytelus opened this issue · 1 comments

Just saw this bug...

Repro steps:

  1. Setup linenoise with few autocomplete.
  2. Press first char, press Tab to do auto complete.
  3. Press space.

Notice that tab gets appended in console. if you try to do backspace, you get weird behavior now.

@sytelus, thanks for the bug report. I fixed it at 0fb923f.
Could you confirm it's fixed on your environment?