aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-04 18:45:57 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-04 18:45:57 +0000
commit12ef3ceda13f9ae4c77384f98e6f145322971e69 (patch)
tree0202ba1ce7451cd8d6ce8568f21f17fff5a58842 /tmux.h
parenta0647f1616da3a2b5fc7ce831ea83519832a196e (diff)
downloadrtmux-12ef3ceda13f9ae4c77384f98e6f145322971e69.tar.gz
rtmux-12ef3ceda13f9ae4c77384f98e6f145322971e69.tar.bz2
rtmux-12ef3ceda13f9ae4c77384f98e6f145322971e69.zip
Add a -a flag to set-option and set-window-option to append to an existing
string value, useful for terminal-overrides.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index 37686e13..97ac7040 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1172,7 +1172,7 @@ int tty_keys_next(struct tty *, int *, u_char *);
/* options-cmd.c */
void set_option_string(struct cmd_ctx *,
- struct options *, const struct set_option_entry *, char *);
+ struct options *, const struct set_option_entry *, char *, int);
void set_option_number(struct cmd_ctx *,
struct options *, const struct set_option_entry *, char *);
void set_option_key(struct cmd_ctx *,
@@ -1326,10 +1326,10 @@ void cmd_buffer_init(struct cmd *, int);
int cmd_buffer_parse(struct cmd *, int, char **, char **);
void cmd_buffer_free(struct cmd *);
size_t cmd_buffer_print(struct cmd *, char *, size_t);
-#define CMD_OPTION_PANE_USAGE "[-gu] [-t target-pane] option [value]"
-#define CMD_OPTION_WINDOW_USAGE "[-gu] [-t target-window] option [value]"
-#define CMD_OPTION_SESSION_USAGE "[-gu] [-t target-session] option [value]"
-#define CMD_OPTION_CLIENT_USAGE "[-gu] [-t target-client] option [value]"
+#define CMD_OPTION_PANE_USAGE "[-t target-pane] option [value]"
+#define CMD_OPTION_WINDOW_USAGE "[-t target-window] option [value]"
+#define CMD_OPTION_SESSION_USAGE "[-t target-session] option [value]"
+#define CMD_OPTION_CLIENT_USAGE "[-t target-client] option [value]"
void cmd_option_init(struct cmd *, int);
int cmd_option_parse(struct cmd *, int, char **, char **);
void cmd_option_free(struct cmd *);