aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Leszczak <szatan@gecc.xyz>2020-05-06 13:35:06 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-05-12 15:37:59 +0200
commit8304d4f0599b1be2226c28c553547070658d4af3 (patch)
tree6ec54c0e8fa98c41a427f07f0c8a9654152c1190
parent914fb825df3bde7abdd7947e54f8bf4d2b55e34e (diff)
downloadst-patched-8304d4f0599b1be2226c28c553547070658d4af3.tar.bz2
st-patched-8304d4f0599b1be2226c28c553547070658d4af3.tar.xz
st-patched-8304d4f0599b1be2226c28c553547070658d4af3.zip
Fix selection: selclear in tputc
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index a8de17d..8c42a9c 100644
--- a/st.c
+++ b/st.c
@@ -2412,7 +2412,7 @@ check_control_code:
2412 */ 2412 */
2413 return; 2413 return;
2414 } 2414 }
2415 if (sel.ob.x != -1 && BETWEEN(term.c.y, sel.ob.y, sel.oe.y)) 2415 if (selected(term.c.x, term.c.y))
2416 selclear(); 2416 selclear();
2417 2417
2418 gp = &term.line[term.c.y][term.c.x]; 2418 gp = &term.line[term.c.y][term.c.x];