mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
VirtualConsole: The rightmost column is always a default horizontal tab.
This commit is contained in:
parent
2850225587
commit
a8c7b6ce86
Notes:
sideshowbarker
2024-07-19 16:08:17 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a8c7b6ce868
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ VirtualConsole::VirtualConsole(unsigned index, InitialContents initial_contents)
|
|||
m_horizontal_tabs = static_cast<byte*>(kmalloc(columns()));
|
||||
for (unsigned i = 0; i < columns(); ++i)
|
||||
m_horizontal_tabs[i] = (i % 8) == 0;
|
||||
// Rightmost column is always last tab on line.
|
||||
m_horizontal_tabs[columns() - 1] = 1;
|
||||
|
||||
s_consoles[index] = this;
|
||||
m_buffer = (byte*)kmalloc_eternal(rows() * columns() * 2);
|
||||
|
|
Loading…
Add table
Reference in a new issue