Skip to content

[RFC] tty_interface: If backspace is pressed on empty input, exit#73

Open
neuschaefer wants to merge 1 commit intojhawthorn:masterfrom
neuschaefer:backspace
Open

[RFC] tty_interface: If backspace is pressed on empty input, exit#73
neuschaefer wants to merge 1 commit intojhawthorn:masterfrom
neuschaefer:backspace

Conversation

@neuschaefer
Copy link
Copy Markdown
Contributor

This is how the : prompt in vim handles backspace on empty input, so it
feels convenient for me.

This patch may be bad for people who press backspace repeatedly to clear
the input line, and then accidentally press backspace once too often,
and exit fzy, so maybe it should be placed behind a command line option.
(I use ^U when I want to clear the input line, so this doesn't happen to me.)

This is how the : prompt in vim handles backspace on empty input, so it
feels convenient for me.

This patch may be bad for people who press backspace repeatedly to clear
the input line, and then accidentally press backspace once too often,
and exit fzy, so maybe it should be placed behind a command line option.
(I use ^U when I want to clear the input line, so this doesn't happen to me.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant