ref: 81acb5be5b025979ca6a1cd4abad0634964119de
parent: 4e3d96a8b2e0240be77d094a9affafe3d5ef36e1
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Feb 19 16:32:12 EST 2020
plan9: make sure cursor and selection fits into the grid when resizing
--- a/plan9.c
+++ b/plan9.c
@@ -1344,6 +1344,7 @@
0, 0, 0, 0, MIN(h, fscr.height), MIN(w, fscr.width)
);
field_resize_raw(&fscr, h, w);
+ curmove(0, 0);
complete = true;
}