1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:38:11 +00:00
serenity/Userland/Libraries/LibVT
Ali Mohammad Pur 54ab6fe5b9 LibVT+Everywhere: Introduce 'automarks' and 'clear previous command'
Automarks are similar to bookmarks placed by the terminal, allowing the
user to selectively remove a single command and its output from the
terminal scrollback.
This commit implements a single way to add marks: automatically placing
them when the shell becomes interactive.

To make sure the shell behaves correctly after its expected prompt
position changes, the terminal layer forces a resize event to be passed
to the shell on such (possibly) partial clears; this also has the nice
side effect of fixing the disappearing prompt on the preexisting "clear
including history" action: Fixes #4192.
2024-02-07 00:43:11 +01:00
..
Attribute.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CharacterSet.h LibVT: Add missing headers 2021-10-06 23:52:40 +01:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Color.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
EscapeSequenceParser.cpp Libraries: Use default constructors/destructors in LibVT 2022-03-13 22:34:38 +01:00
EscapeSequenceParser.h LibVT: Fix integer overflow when parsing long OSC sequences 2023-03-17 16:50:22 +00:00
Line.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Line.h LibVT+Everywhere: Introduce 'automarks' and 'clear previous command' 2024-02-07 00:43:11 +01:00
Position.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Range.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
StateMachine.txt LibVT: Fix UTF-8 handling in OSC sequences 2021-05-22 23:23:08 +02:00
Terminal.cpp LibVT+Everywhere: Introduce 'automarks' and 'clear previous command' 2024-02-07 00:43:11 +01:00
Terminal.h LibVT+Everywhere: Introduce 'automarks' and 'clear previous command' 2024-02-07 00:43:11 +01:00
TerminalWidget.cpp LibVT+Everywhere: Introduce 'automarks' and 'clear previous command' 2024-02-07 00:43:11 +01:00
TerminalWidget.h LibVT+Everywhere: Introduce 'automarks' and 'clear previous command' 2024-02-07 00:43:11 +01:00
XtermColors.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00