Browse Source

Fix selection: selclear in tputc

master
Jakub Leszczak 4 years ago
committed by Hiltjo Posthuma
parent
commit
8304d4f059
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.c

+ 1
- 1
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];


Loading…
Cancel
Save