render: resize: add TODO: translate pivot coords

This commit is contained in:
Daniel Eklöf 2022-02-07 10:42:32 +01:00
parent a187271ca4
commit 003ea4904d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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
* selections pivot point coordinates *must* be added to the
* tracking points list.
*/
struct coord *const tracking_points[] = {
&term->selection.start,
&term->selection.end,