ladybird/Userland/Libraries/LibVT
Daniel Bertalan 221ba1aac8 LibVT: Improve scrolling performance
Previously, we would remove lines from the buffer, create new lines and
insert them into the buffer when we scrolled. Since scrolling does not
always happen at the last line, this meant `Line` objects were
pointlessly moved forwards, and then immediately backwards.

We now swap them in-place and clear those lines that are "inserted". As
a result, performance is better and scrolling is smoother in `vim` and
`nano`.
2021-06-10 17:18:02 +02:00
..
Attribute.h LibVT+Kernel: Create Color class 2021-06-04 09:02:43 +01:00
CMakeLists.txt Meta: Make generate_state_machine() generate a proper target 2021-05-20 12:11:27 +01:00
Color.h LibVT: Implement bright color support 2021-06-04 09:02:43 +01:00
EscapeSequenceParser.cpp Everywhere: codepoint => code point 2021-06-01 10:01:11 +02:00
EscapeSequenceParser.h LibVT: Implement new ANSI escape sequence parser 2021-05-16 11:50:56 +02:00
Line.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Line.h Kernel/Graphics + SystemServer: Support text mode properly 2021-05-16 19:58:33 +02:00
Position.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Range.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StateMachine.txt LibVT: Fix UTF-8 handling in OSC sequences 2021-05-22 23:23:08 +02:00
Terminal.cpp LibVT: Improve scrolling performance 2021-06-10 17:18:02 +02:00
Terminal.h LibVT+Kernel: Clean up scroll API 2021-06-10 17:18:02 +02:00
TerminalWidget.cpp LibVT: Fix underlines incorrectly rendering in red 2021-06-04 09:02:43 +01:00
TerminalWidget.h LibVT: Implement bright color support 2021-06-04 09:02:43 +01:00
XtermColors.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00