tselection: fix view to match actual selection on first cell - st - [fork] cust… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f1546cf9c1f9fc52d26dbbcf73210901e83c7ecf | |
parent 21367a040f056f6a207fafa066bd1cb2d9cae586 | |
Author: Avi Halachmi (:avih) <[email protected]> | |
Date: Wed, 10 Apr 2019 01:54:43 +0300 | |
selection: fix view to match actual selection on first cell | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -458,7 +458,7 @@ selextend(int col, int row, int type, int done) | |
selnormalize(); | |
sel.type = type; | |
- if (oldey != sel.oe.y || oldex != sel.oe.x || oldtype != sel.type) | |
+ if (oldey != sel.oe.y || oldex != sel.oe.x || oldtype != sel.type || s… | |
tsetdirt(MIN(sel.nb.y, oldsby), MAX(sel.ne.y, oldsey)); | |
sel.mode = done ? SEL_IDLE : SEL_READY; |