Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix selection: selclear in tputc - st - simple terminal
git clone git://git.suckless.org/st
Log
Files
Refs
README
LICENSE
---
commit 8304d4f0599b1be2226c28c553547070658d4af3
parent 914fb825df3bde7abdd7947e54f8bf4d2b55e34e
Author: Jakub Leszczak <[email protected]>
Date: Wed, 6 May 2020 13:35:06 +0200
Fix selection: selclear in tputc
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/st.c b/st.c
@@ -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];
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.