aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 15:49:20 +0000
committernicm <nicm>2020-05-16 15:49:20 +0000
commit6ea6d46d0a1b206ece54a05af4f3fe7a3d6fe4cc (patch)
tree4a544351d866147787668a8da3b21214663a71d3 /grid.c
parentdaa95810b53c25d10c90b85ef6fbf8ab32479e23 (diff)
downloadrtmux-6ea6d46d0a1b206ece54a05af4f3fe7a3d6fe4cc.tar.gz
rtmux-6ea6d46d0a1b206ece54a05af4f3fe7a3d6fe4cc.tar.bz2
rtmux-6ea6d46d0a1b206ece54a05af4f3fe7a3d6fe4cc.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);