diff options
Diffstat (limited to '')
| -rw-r--r-- | st.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -634,7 +634,8 @@ getsel(void) | |||
| 634 | * st. | 634 | * st. |
| 635 | * FIXME: Fix the computer world. | 635 | * FIXME: Fix the computer world. |
| 636 | */ | 636 | */ |
| 637 | if ((y < sel.ne.y || lastx >= linelen) && !(last->mode & ATTR_WRAP)) | 637 | if ((y < sel.ne.y || lastx >= linelen) && |
| 638 | (!(last->mode & ATTR_WRAP) || sel.type == SEL_RECTANGULAR)) | ||
| 638 | *ptr++ = '\n'; | 639 | *ptr++ = '\n'; |
| 639 | } | 640 | } |
| 640 | *ptr = 0; | 641 | *ptr = 0; |
