aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-02-07 14:12:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-07 14:12:08 +0000
commitb2d59a0e540472c6869b932e2d4cf034c5ad7b0d (patch)
tree3f2ac5cb3156aaa3fb739068912e601be9499c59 /grid.c
parenttests: fix typo in error message (diff)
parentchangelog: scrollback wrap-around crossing selections (diff)
Merge branch 'selection-handling-during-reflow'
Closes #924
Diffstat (limited to 'grid.c')
-rw-r--r--grid.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/grid.c b/grid.c
index 844ea90c..5a0b5c7e 100644
--- a/grid.c
+++ b/grid.c
@@ -482,6 +482,13 @@ _line_wrap(struct grid *old_grid, struct row **new_grid, struct row *row,
tll_remove(old_grid->sixel_images, it);
}
}
+
+ /*
+ * TODO: detect if the re-used row is covered by the
+ * selection. Of so, cancel the selection. The problem: we
+ * don’t know if we’ve translated the selection coordinates
+ * yet.
+ */
}
struct row_data *extra = row->extra;