Fix selection: selclear in tputc

This commit is contained in:
Jakub Leszczak 2020-05-06 13:35:06 +02:00 committed by Hiltjo Posthuma
parent 914fb825df
commit 8304d4f059
1 changed files with 1 additions and 1 deletions

2
st.c
View File

@ -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];