aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-05 10:20:57 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-05 10:20:57 +0100
commite810f1527252f49ff499343a2f7cf8897f4a78cd (patch)
tree6b4b0ba35d6a5be8a767a856c5adf7bee527d3e6 /grid.c
parent1f6c00f8ef2faa462ab092f41ada8d44d7358596 (diff)
downloadrtmux-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grid.c b/grid.c
index 81f3709c..2437e2ea 100644
--- a/grid.c
+++ b/grid.c
@@ -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);