go-prompt
go-prompt copied to clipboard
[Bug] Combination key breaks the layout of the prompt
Bug reports
Thanks for the great library. An issue is submitted to a project which using c-bata/go-prompt
.
It seems to be a bug related to c-bata/go-prompt
. See Current Behavior and Steps to Reproduce
for more details.
Expected Behavior
Does not cause any effect by the input.
Current Behavior and Steps to Reproduce
See https://github.com/ktr0731/evans/issues/335.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- Operating System: macOS Mojave
- Terminal Emulator: (i.e. iTerm2) iTerm2
- tag of go-prompt or commit revision: v0.2.5 and latest.
To clarify the bug: If you press some ctrl+x (include left/right arrow) too faster, the bug reproduced. I have create a PR for that bug: https://github.com/c-bata/go-prompt/pull/214#issue-538907825