mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
Kernel: Re-render console after echoing characters
If we do not flush the dirty lines, characters typed in canonical mode only appear after the virtual console has been switched away from, or the application has been killed. Instead, we now immediately perform the flush.
This commit is contained in:
parent
ce9460de59
commit
a3c4397432
Notes:
sideshowbarker
2024-07-18 12:29:38 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/a3c4397432c Pull-request: https://github.com/SerenityOS/serenity/pull/7698
@ -377,6 +377,8 @@ String VirtualConsole::device_name() const
|
||||
void VirtualConsole::echo(u8 ch)
|
||||
{
|
||||
m_console_impl.on_input(ch);
|
||||
if (m_active)
|
||||
flush_dirty_lines();
|
||||
}
|
||||
|
||||
VirtualConsole::Cell& VirtualConsole::cell_at(size_t x, size_t y)
|
||||
|
Loading…
Reference in New Issue
Block a user