mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-26 14:01:13 -03:00
delete-or-exit: Only exit if the commandline is empty
This exitted if the cursor was at the end of the line as well (i.e. if delete-char failed). That's a bit too eager. Also documentation, which should have already been included.
This commit is contained in:
@@ -102,6 +102,8 @@ The following special input functions are available:
|
||||
|
||||
- ``delete-char``, delete one character to the right of the cursor
|
||||
|
||||
- ``delete-or-exit``, deletes one character to the right of the cursor or exits the shell if the commandline is empty.
|
||||
|
||||
- ``downcase-word``, make the current word lowercase
|
||||
|
||||
- ``end-of-buffer``, moves to the end of the buffer, i.e. the end of the first line
|
||||
|
||||
Reference in New Issue
Block a user