Move common code from show-options and show-window-options into a function.

This commit is contained in:
Nicholas Marriott
2009-09-21 14:46:47 +00:00
parent b769aa59d3
commit e3c3d746f7
4 changed files with 52 additions and 82 deletions

2
tmux.h
View File

@ -1238,6 +1238,8 @@ void tty_keys_free(struct tty *);
int tty_keys_next(struct tty *, int *, u_char *);
/* options-cmd.c */
const char *set_option_print(
const struct set_option_entry *, struct options_entry *);
void set_option_string(struct cmd_ctx *,
struct options *, const struct set_option_entry *, char *, int);
void set_option_number(struct cmd_ctx *,