---
st.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/st.c b/st.c
index 7250da2..56dc94c 100644
--- a/st.c
+++ b/st.c
_AT_@ -773,7 +773,8 @@ selcopy(void) {
gp = &term.line[y][0];
last = gp + term.col;
- while(--last >= gp && !(last->state & GLYPH_SET))
+ while(--last >= gp && !((last->state & GLYPH_SET) && \
+ selected(last - gp, y) && strcmp(last->c, " ") != 0))
/* nothing */;
for(x = 0; gp <= last; x++, ++gp) {
--
1.7.10.4
Received on Sun Apr 14 2013 - 21:17:44 CEST
This archive was generated by hypermail 2.3.0 : Sun Apr 14 2013 - 21:24:05 CEST