From ecac5ee35ef006001b280461ed3f9812d855250c Mon Sep 17 00:00:00 2001 From: Omar Sandoval Date: Thu, 9 Apr 2015 18:22:31 -0700 Subject: Make DECSCUSR thickness configurable --- st.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'st.c') diff --git a/st.c b/st.c index a7064b1..b2bcfe9 100644 --- a/st.c +++ b/st.c @@ -3591,15 +3591,15 @@ xdrawcursor(void) { case 4: /* Steady Underline */ XftDrawRect(xw.draw, &dc.col[defaultcs], borderpx + curx * xw.cw, - borderpx + (term.c.y + 1) * xw.ch - 1, - xw.cw, 1); + borderpx + (term.c.y + 1) * xw.ch - cursorthickness, + xw.cw, cursorthickness); break; case 5: /* Blinking bar */ case 6: /* Steady bar */ XftDrawRect(xw.draw, &dc.col[defaultcs], - borderpx + curx * xw.cw, - borderpx + term.c.y * xw.ch, - 1, xw.ch); + borderpx + curx * xw.cw, + borderpx + term.c.y * xw.ch, + cursorthickness, xw.ch); break; } } else { -- cgit v1.2.3