diff options
author | Omar Sandoval <osandov@osandov.com> | 2015-04-09 18:22:31 -0700 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2015-04-10 23:43:05 +0200 |
commit | ecac5ee35ef006001b280461ed3f9812d855250c (patch) | |
tree | e799690df73cc5e13cc35981300e4cc7f03ff9f4 /st.c | |
parent | 93b54cfcc437c9bac9af3ceb2d9ba19c442de1ff (diff) | |
download | st-ecac5ee35ef006001b280461ed3f9812d855250c.tar.gz st-ecac5ee35ef006001b280461ed3f9812d855250c.tar.bz2 |
Make DECSCUSR thickness configurable
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 { |