diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-08-09 16:48:34 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-08-09 16:48:34 +0000 |
commit | 65a28912ebf180f736f29fcecc3c87223e5ee533 (patch) | |
tree | 4dd079332c2227ebaf2353a816019fbe89f00e48 /tmux.h | |
parent | d8a2ceea438df9fcf235ce7e1b2700d734fd5d77 (diff) |
Sync OpenBSD patchset 219:
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.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.402 2009-08-09 15:26:24 tcunha Exp $ */ +/* $Id: tmux.h,v 1.403 2009-08-09 16:48:34 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1171,7 +1171,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 *, @@ -1325,10 +1325,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 *); |