This adds support for editing within the input command line:
Left and right arrows to move cursor one character at a time.
Insert new character at cursor position rather that always at the end.
Delete at cursor position to accompany backspace which is already implemented.
Home and End to move cursor to start and end of command line.
Shift/alt left and right arrows to move back and forward a word (separated by whitespace) at a time.
Tab completion at the cursor location whilst keeping the remainder of the command line.
I have been a bit permissive about what keystrokes correspond to these, to ensure that this works on both of my test machines (linux and macos). In time we may need to tighten this up and make some OS-specific. This will need multi-platform testing, both manual and automated.
This adds support for editing within the input command line:
I have been a bit permissive about what keystrokes correspond to these, to ensure that this works on both of my test machines (linux and macos). In time we may need to tighten this up and make some OS-specific. This will need multi-platform testing, both manual and automated.