st

simple terminal

git clone https://9o.is/git/st.git

commit 28a529d5fd68ff830eeb198884071d3e545dcaa2
parent 10119f73c3f58ea08065d2aa4f38a56176eae373
Author: Jakub Leszczak <szatan@gecc.xyz>
Date:   Wed,  6 May 2020 13:35:06 +0200

Fix selection: selclear in tputc

Diffstat:
Mst.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];