diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-02-07 09:42:32 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-02-07 09:42:32 +0000 |
| commit | 003ea4904d79dfce530d77adc29030f9fcd1e6b8 (patch) | |
| tree | bd8a34312ddee114b14fa169a9ac6f88ee03b2a1 /render.c | |
| parent | render: resize: finalize selection before reflowing the grid (diff) | |
render: resize: add TODO: translate pivot coords
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3692,6 +3692,12 @@ maybe_resize(struct terminal *term, int width, int height, bool force) } } + /* + * TODO: if we remove the selection_finalize() call above (i.e. if + * we start allowing selections to be ongoing across resizes), the + * selection’s pivot point coordinates *must* be added to the + * tracking points list. + */ struct coord *const tracking_points[] = { &term->selection.start, &term->selection.end, |
