diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-12-13 23:46:58 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-12-13 23:46:58 +0000 |
commit | 5caec3020d32596f3ecf3dea68639da18690992d (patch) | |
tree | da0cde36d73215aa603d1897279aa9431f403d06 /tmux.h | |
parent | f4adcfa0e2f4451616738a8c65f9eef2855fc757 (diff) | |
parent | ecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff) | |
download | rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.gz rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.bz2 rtmux-5caec3020d32596f3ecf3dea68639da18690992d.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -1391,14 +1391,16 @@ struct cmd_q { /* Command definition. */ struct cmd_entry { - const char *name; - const char *alias; + const char *name; + const char *alias; - const char *args_template; - int args_lower; - int args_upper; + struct { + const char *template; + int lower; + int upper; + } args; - const char *usage; + const char *usage; #define CMD_STARTSERVER 0x1 #define CMD_READONLY 0x2 @@ -1420,9 +1422,9 @@ struct cmd_entry { #define CMD_WINDOW_MARKED_T 0x20000 #define CMD_WINDOW_MARKED_S 0x40000 #define CMD_CLIENT_CANFAIL 0x80000 - int flags; + int flags; - enum cmd_retval (*exec)(struct cmd *, struct cmd_q *); + enum cmd_retval (*exec)(struct cmd *, struct cmd_q *); }; #define CMD_ALL_T (CMD_SESSION_T|CMD_WINDOW_T|CMD_PANE_T|CMD_INDEX_T| \ CMD_MOVEW_R|CMD_PANE_MARKED_T|CMD_WINDOW_MARKED_T) |