aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selection.c b/selection.c
index f1485f45..189119d9 100644
--- a/selection.c
+++ b/selection.c
@@ -213,7 +213,7 @@ extract_one(struct terminal *term, struct row *row, struct cell *cell,
if (ctx->last_row != NULL && row != ctx->last_row &&
((term->selection.kind == SELECTION_NORMAL &&
- (ctx->last_cell->wc == 0 || ctx->last_cell->attrs.linefeed)) ||
+ ctx->last_row->linebreak) ||
term->selection.kind == SELECTION_BLOCK))
{
/* Last cell was the last column in the selection */