summarylogtreecommitdiffstats
path: root/0001-remove-cursor-height-padding-from-top.patch
blob: e24cba95abeefcafacc24c2ee655ec62e69b787b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp
index 7b083a6c..f6281e81 100644
--- a/src/TerminalDisplay.cpp
+++ b/src/TerminalDisplay.cpp
@@ -763,7 +763,7 @@ void TerminalDisplay::drawCursor(QPainter& painter,
 
     // shift rectangle top down one pixel to leave some space
     // between top and bottom
-    QRect cursorRect = rect.adjusted(0, 1, 0, 0);
+    QRect cursorRect = rect.adjusted(0, 0, 0, 0);
 
     QColor cursorColor = _cursorColor.isValid() ? _cursorColor : foregroundColor;
     painter.setPen(cursorColor);