aboutsummaryrefslogtreecommitdiff
path: root/cmd-refresh-client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-06-05 10:01:22 +0100
committerThomas Adam <thomas@xteddy.org>2020-06-05 10:01:22 +0100
commita06cf900c7f8443a63005b6a2c59d11095d2a259 (patch)
tree6d4882ef037117aaf9c8663e5fb42a96f7966000 /cmd-refresh-client.c
parent976cf6c60fbb7bb95a805ce451281bf9dd5d43f8 (diff)
parent4e5e2c19d0bb9aaad12ddd6dd0fc50a150a6c0cb (diff)
downloadrtmux-a06cf900c7f8443a63005b6a2c59d11095d2a259.tar.gz
rtmux-a06cf900c7f8443a63005b6a2c59d11095d2a259.tar.bz2
rtmux-a06cf900c7f8443a63005b6a2c59d11095d2a259.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-refresh-client.c')
-rw-r--r--cmd-refresh-client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-refresh-client.c b/cmd-refresh-client.c
index 4eb8417b..bbe0c736 100644
--- a/cmd-refresh-client.c
+++ b/cmd-refresh-client.c
@@ -66,6 +66,8 @@ cmd_refresh_client_update_offset(struct client *tc, const char *value)
control_set_pane_on(tc, wp);
else if (strcmp(colon, "off") == 0)
control_set_pane_off(tc, wp);
+ else if (strcmp(colon, "continue") == 0)
+ control_continue_pane(tc, wp);
out:
free(copy);
@@ -168,7 +170,7 @@ cmd_refresh_client_exec(struct cmd *self, struct cmdq_item *item)
}
tty_set_size(&tc->tty, x, y, 0, 0);
tc->flags |= CLIENT_SIZECHANGED;
- recalculate_sizes();
+ recalculate_sizes_now(1);
return (CMD_RETURN_NORMAL);
}