Store and restore cursor position when copy mode is resized, from

Anindya Mukherjee.
This commit is contained in:
nicm
2020-05-16 15:49:20 +00:00
parent daa95810b5
commit 6ea6d46d0a
4 changed files with 70 additions and 40 deletions

2
grid.c
View File

@ -1285,7 +1285,7 @@ grid_reflow(struct grid *gd, u_int sx)
/*
* If the line is exactly right or the first character is wider
* than the targe width, just move it across unchanged.
* than the target width, just move it across unchanged.
*/
if (width == sx || first > sx) {
grid_reflow_move(target, gl);