mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
Fix selection: selclear in tputc
This commit is contained in:
parent
914fb825df
commit
8304d4f059
1 changed files with 1 additions and 1 deletions
2
st.c
2
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];
|
||||
|
|
Loading…
Reference in a new issue