mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:57:44 +00:00
Terminal: Tighten the glyph rects.
This makes the cursor look a bit nicer.
This commit is contained in:
parent
e9e57c5f65
commit
135ff48bb9
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ Rect Terminal::glyph_rect(word row, word column)
|
||||||
{
|
{
|
||||||
int y = row * m_line_height;
|
int y = row * m_line_height;
|
||||||
int x = column * font().glyph_width();
|
int x = column * font().glyph_width();
|
||||||
return { x + m_inset, y + m_inset, font().glyph_width(), m_line_height };
|
return { x + m_inset, y + m_inset, font().glyph_width(), font().glyph_height() };
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Terminal::Attribute& Terminal::attribute_at(word row, word column)
|
inline Terminal::Attribute& Terminal::attribute_at(word row, word column)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue