From 135ff48bb92a3384c2bae3bdd65bd41ba8b6e264 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 17 Jan 2019 16:34:37 +0100 Subject: [PATCH] Terminal: Tighten the glyph rects. This makes the cursor look a bit nicer. --- Terminal/Terminal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal/Terminal.cpp b/Terminal/Terminal.cpp index d342245a4c2..51d609dc826 100644 --- a/Terminal/Terminal.cpp +++ b/Terminal/Terminal.cpp @@ -404,7 +404,7 @@ Rect Terminal::glyph_rect(word row, word column) { int y = row * m_line_height; 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)