1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:57:45 +00:00

LibLine+Shell: Allow some programs to modify the current termios

This setting can be controlled by setting the
PROGRAMS_ALLOWED_TO_MODIFY_DEFAULT_TERMIOS _local_ shell variable to a
list containing such programs.
This commit is contained in:
Ali Mohammad Pur 2021-05-24 16:50:16 +04:30 committed by Ali Mohammad Pur
parent e318f12263
commit b2ef18d538
4 changed files with 50 additions and 11 deletions

View file

@ -148,6 +148,8 @@ public:
void initialize();
void refetch_default_termios();
void add_to_history(const String& line);
bool load_history(const String& path);
bool save_history(const String& path);