mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
221ba1aac8
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`. |
||
---|---|---|
.. | ||
Attribute.h | ||
CMakeLists.txt | ||
Color.h | ||
EscapeSequenceParser.cpp | ||
EscapeSequenceParser.h | ||
Line.cpp | ||
Line.h | ||
Position.h | ||
Range.h | ||
StateMachine.txt | ||
Terminal.cpp | ||
Terminal.h | ||
TerminalWidget.cpp | ||
TerminalWidget.h | ||
XtermColors.h |