mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:17:34 +00:00
Base: Document the Shell's new termios allow-list
Also add `stty` to that list by default.
This commit is contained in:
parent
b2ef18d538
commit
27572c9d34
2 changed files with 11 additions and 0 deletions
|
@ -40,6 +40,15 @@ If `t` is not a non-negative integer, zero will be assumed.
|
|||
Note that multiple shell instances will not interfere with each other if they are to save to the same history file, instead, the entries will all be merged together chronologically.
|
||||
The default value for this option is set in `/etc/shellrc`.
|
||||
|
||||
3. Terminal settings
|
||||
|
||||
`PROGRAMS_ALLOWED_TO_MODIFY_DEFAULT_TERMIOS` (local)
|
||||
|
||||
The list value stored in this variable is used as an allow-list to filter programs that may modify the current terminal settings (i.e. default termios configuration) of the current shell session.
|
||||
By default, this list includes `stty`, making it possible for the user to modify the terminal settings from within the shell.
|
||||
Note that the shell will revert any termios changes if the running program is not in this list, or if it failed to run successfully (exited with an exit code other than zero).
|
||||
Also note that the line editor will re-evaluate the keybindings and sync them when such a change occurs.
|
||||
|
||||
## Visual
|
||||
|
||||
1. Prompting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue