diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-05 10:20:57 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-05 10:20:57 +0100 |
commit | e810f1527252f49ff499343a2f7cf8897f4a78cd (patch) | |
tree | 6b4b0ba35d6a5be8a767a856c5adf7bee527d3e6 /grid.c | |
parent | 1f6c00f8ef2faa462ab092f41ada8d44d7358596 (diff) | |
download | rtmux-e810f1527252f49ff499343a2f7cf8897f4a78cd.tar.gz rtmux-e810f1527252f49ff499343a2f7cf8897f4a78cd.tar.bz2 rtmux-e810f1527252f49ff499343a2f7cf8897f4a78cd.zip |
Store and restore cursor position when copy mode is resized, from Anindya
Mukherjee.
Diffstat (limited to 'grid.c')
-rw-r--r-- | grid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |