diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -773,7 +773,8 @@ selcopy(void) { | |||
| 773 | gp = &term.line[y][0]; | 773 | gp = &term.line[y][0]; |
| 774 | last = gp + term.col; | 774 | last = gp + term.col; |
| 775 | 775 | ||
| 776 | while(--last >= gp && !(last->state & GLYPH_SET)) | 776 | while(--last >= gp && !((last->state & GLYPH_SET) && \ |
| 777 | selected(last - gp, y) && strcmp(last->c, " ") != 0)) | ||
| 777 | /* nothing */; | 778 | /* nothing */; |
| 778 | 779 | ||
| 779 | for(x = 0; gp <= last; x++, ++gp) { | 780 | for(x = 0; gp <= last; x++, ++gp) { |
