Browse Source

Fix selection: selclear in tputc

master
Jakub Leszczak 2 years ago
committed by Hiltjo Posthuma
parent
commit
8304d4f059
  1. 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…
Cancel
Save