go-prompt icon indicating copy to clipboard operation
go-prompt copied to clipboard

[Bug] Combination key breaks the layout of the prompt

Open ktr0731 opened this issue 4 years ago • 1 comments

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.

ktr0731 avatar Dec 09 '20 14:12 ktr0731

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

coanor avatar Dec 13 '20 08:12 coanor