gum
gum copied to clipboard
gum input and gum filter handle input strangely after moving cursor to the start
Describe the bug
gum input and gum filter seem to jump to the end of the line when an input is made after moving the cursor back to the start of the line. This only appears to happen the cursor is at the starting character.
To Reproduce Steps to reproduce the behavior:
- Run
gum input - Type "Hello World"
- Go to the start of the line (e.g. hold the left key or alt + left your way back)
- Confirm you are at the starting character
- Proceed to type "12345"
Expected behavior
I'm expecting the final state to be 12345Hello World
Screenshots Final output:
$ gum input
> 1Hello World2345
Desktop (please complete the following information):
- OS: Ubuntu
- Browser N/A
- Version 22
- Terminal kitty 0.25.2