Hey,
A small diff is below to fix the error message from tmux(1) when an
invalid value is passed to resize-pane -y. It has mentioned "width"
instead of "height".
Cheers,
Kris Katterjohn
Index: usr.bin/tmux/cmd-resize-pane.c
===================================================================
RCS file: /cvs/src/usr.bin/tmux/cmd-resize-pane.c,v
retrieving revision 1.47
diff -u -p -r1.47 cmd-resize-pane.c
--- usr.bin/tmux/cmd-resize-pane.c 16 May 2020 15:01:30 -0000 1.47
+++ usr.bin/tmux/cmd-resize-pane.c 23 May 2020 19:12:45 -0000
@@ -117,7 +117,7 @@ cmd_resize_pane_exec(struct cmd *self, s
if (args_has(args, 'y')) {
y = args_percentage(args, 'y', 0, INT_MAX, w->sy, &cause);
if (cause != NULL) {
- cmdq_error(item, "width %s", cause);
+ cmdq_error(item, "height %s", cause);
free(cause);
return (CMD_RETURN_ERROR);
}