diff options
author | Jakub Leszczak <szatan@gecc.xyz> | 2020-05-06 13:35:06 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-05-12 15:37:59 +0200 |
commit | 8304d4f0599b1be2226c28c553547070658d4af3 (patch) | |
tree | 6ec54c0e8fa98c41a427f07f0c8a9654152c1190 | |
parent | 914fb825df3bde7abdd7947e54f8bf4d2b55e34e (diff) |
Fix selection: selclear in tputc
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2412,7 +2412,7 @@ check_control_code: */ return; } - if (sel.ob.x != -1 && BETWEEN(term.c.y, sel.ob.y, sel.oe.y)) + if (selected(term.c.x, term.c.y)) selclear(); gp = &term.line[term.c.y][term.c.x]; |