AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.07k stars 350 forks source link

Cursor jumps up one line when moving it left when the text inputted reaches the end of the line #443

Open pokir opened 1 year ago

pokir commented 1 year ago

What operating system and terminal are you using?

MacOS 12.4; alacritty

An example that showcases the bug.

  1. Write text until the end of the line
  2. Move cursor left or use backspace to delete characters

out

What did you expect to see?

Cursor should move left on the same line

What did you see instead?

Cursor moves left on the previous line