aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-11 08:16:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-14 05:38:56 +0000
commitf14b49068ac404879495b42343a6ab2e78b0609f (patch)
tree1e67021cef0290e56db58f015b7836e705f46f23 /selection.c
parentselection: finalize: clear ongoing selection (diff)
selection: extend: set ongoing to true
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/selection.c b/selection.c
index 43ef2938..0f1731e6 100644
--- a/selection.c
+++ b/selection.c
@@ -536,6 +536,8 @@ selection_extend(struct seat *seat, struct terminal *term,
return;
}
+ term->selection.ongoing = true;
+
row += term->grid->view;
if ((row == term->selection.start.row && col == term->selection.start.col) ||