aboutsummaryrefslogtreecommitdiff
path: root/cmd-resize-pane.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
commit5caec3020d32596f3ecf3dea68639da18690992d (patch)
treeda0cde36d73215aa603d1897279aa9431f403d06 /cmd-resize-pane.c
parentf4adcfa0e2f4451616738a8c65f9eef2855fc757 (diff)
parentecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff)
downloadrtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.gz
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.bz2
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-resize-pane.c')
-rw-r--r--cmd-resize-pane.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/cmd-resize-pane.c b/cmd-resize-pane.c
index a4de32df..fb3302a2 100644
--- a/cmd-resize-pane.c
+++ b/cmd-resize-pane.c
@@ -31,11 +31,15 @@ enum cmd_retval cmd_resize_pane_exec(struct cmd *, struct cmd_q *);
void cmd_resize_pane_mouse_update(struct client *, struct mouse_event *);
const struct cmd_entry cmd_resize_pane_entry = {
- "resize-pane", "resizep",
- "DLMRt:Ux:y:Z", 0, 1,
- "[-DLMRUZ] [-x width] [-y height] " CMD_TARGET_PANE_USAGE " [adjustment]",
- CMD_PANE_T,
- cmd_resize_pane_exec
+ .name = "resize-pane",
+ .alias = "resizep",
+
+ .args = { "DLMRt:Ux:y:Z", 0, 1 },
+ .usage = "[-DLMRUZ] [-x width] [-y height] " CMD_TARGET_PANE_USAGE " "
+ "[adjustment]",
+
+ .flags = CMD_PANE_T,
+ .exec = cmd_resize_pane_exec
};
enum cmd_retval