Fix selection: selclear in tputc

master
Jakub Leszczak 5 years ago committed by Hiltjo Posthuma
parent 914fb825df
commit 8304d4f059
  1. 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