mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Kernel+LibVT: Fix selection with scrollback wrap-around
If lines are removed from the tail of the scrollback buffer, the previous line indices will refer to different lines; therefore we need to offset them.
This commit is contained in:
parent
13991eade7
commit
ce9460de59
7 changed files with 23 additions and 10 deletions
|
@ -353,7 +353,7 @@ void VirtualConsole::terminal_did_resize(u16 columns, u16 rows)
|
|||
dbgln("VC {}: Resized to {} x {}", index(), columns, rows);
|
||||
}
|
||||
|
||||
void VirtualConsole::terminal_history_changed()
|
||||
void VirtualConsole::terminal_history_changed(int)
|
||||
{
|
||||
// Do nothing, I guess?
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue