aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-02-07 12:57:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-07 14:06:55 +0000
commit0800515c04ba52b5b31c43d326bd590fe6cb5954 (patch)
tree3a4878d5d0b72e54168c366c6c71c99f1766dd0f
parentselection: ensure start/end coordinates are bounded by the current grid (diff)
grid: reflow: add TODO to detect selection on re-used rows, and cancel it
-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;