pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
914fb82
)
Fix selection: selclear in tputc
author
Jakub Leszczak
<szatan@gecc.xyz>
Wed, 6 May 2020 11:35:06 +0000
(13:35 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Tue, 12 May 2020 13:37:59 +0000
(15:37 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
a8de17d
..
8c42a9c
100644
(file)
--- a/
st.c
+++ b/
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 (sel
ected(term.c.x, term.c
.y))
selclear();
gp = &term.line[term.c.y][term.c.x];