mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-24 03:21:15 -03:00
commandline --selection-start and --selection-end implementation
Fixes #9197
This commit is contained in:
@@ -26,6 +26,12 @@ The following options are available:
|
||||
If no argument is given, the current cursor position is printed, otherwise the argument is interpreted as the new cursor position.
|
||||
If one of the options **-j**, **-p** or **-t** is given, the position is relative to the respective substring instead of the entire command line buffer.
|
||||
|
||||
**-B** or **--selection-start**
|
||||
Get current position of the selection start in the buffer.
|
||||
|
||||
**-E** or **--selection-end**
|
||||
Get current position of the selection end in the buffer.
|
||||
|
||||
**-f** or **--function**
|
||||
Causes any additional arguments to be interpreted as input functions, and puts them into the queue, so that they will be read before any additional actual key presses are.
|
||||
This option cannot be combined with any other option.
|
||||
|
||||
Reference in New Issue
Block a user