VS Code Embedded Terminal: Errors when using arrows to navigate the autocompletion menu
For example with bit checkout ...

Then when the last selection is hit it looks like this and the selection is blocked:

Under certain circumstances (when coming back and forth, not sure exactly how), then I get also this:

What OS/Terminal/Shell are you using?
You're right, I didn't realize it could be related to my Terminal and/or Shell. I was using the Terminal of VSCode. I'm using also iTerm with ZSH in OSX and it works including the default Terminal.app. But it fails with the embedded terminal of Code =>

Hi, I think I reproduced this issue also with a basic go-prompt program.
In both ways (running bit and with adoc program) I can hit the problem only if I hold DOWN arrow button.
I'm not sure it's what @0cv experienced, but the root cause is that vscode sends two DOWN characters at once in prompt.go.
Just discovered adding logs:
2022/10/08 18:59:20 b: 1b5b42 <--- good DOWN arrow
2022/10/08 18:59:21 b: 1b5b421b5b42 <--- bad 2xDOWN arrow
See https://github.com/c-bata/go-prompt/blob/master/input.go#L72
Going to raise an issue also to go-prompt repo.