From 003ea4904d79dfce530d77adc29030f9fcd1e6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 7 Feb 2022 10:42:32 +0100 Subject: [PATCH] render: resize: add TODO: translate pivot coords --- render.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/render.c b/render.c index e189e1a0..953ec4da 100644 --- a/render.c +++ b/render.c @@ -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,