diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-03 14:10:54 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-03 14:10:54 +0000 |
commit | 1673735f0271c6f87e6ba0d85d8b4a1d0f2f3d35 (patch) | |
tree | 27a8faaf2b54de7cf47d822da839c6d62368a44a /tmux.h | |
parent | e4bb08e1f5ebf47620758795efcbdd61849b73e8 (diff) | |
download | rtmux-1673735f0271c6f87e6ba0d85d8b4a1d0f2f3d35.tar.gz rtmux-1673735f0271c6f87e6ba0d85d8b4a1d0f2f3d35.tar.bz2 rtmux-1673735f0271c6f87e6ba0d85d8b4a1d0f2f3d35.zip |
Add a terminal-overrides session option allowing individual terminfo(5) entries
to be overridden. The 88col/256col checks are now moved into the default
setting and out of the code.
Also remove a couple of old workarounds for xterm and rxvt which are no longer
necessary (tmux can emulate them if missing).
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1130,7 +1130,7 @@ void tty_detect_utf8(struct tty *); void tty_set_title(struct tty *, const char *); void tty_update_mode(struct tty *, int); void tty_draw_line(struct tty *, struct screen *, u_int, u_int, u_int); -int tty_open(struct tty *, char **); +int tty_open(struct tty *, const char *, char **); void tty_close(struct tty *, int); void tty_free(struct tty *, int); void tty_write(void (*)(struct tty *, struct tty_ctx *), struct tty_ctx *); @@ -1153,7 +1153,7 @@ void tty_cmd_reverseindex(struct tty *, struct tty_ctx *); /* tty-term.c */ extern struct tty_terms tty_terms; extern struct tty_term_code_entry tty_term_codes[NTTYCODE]; -struct tty_term *tty_term_find(char *, int, char **); +struct tty_term *tty_term_find(char *, int, const char *, char **); void tty_term_free(struct tty_term *); int tty_term_has(struct tty_term *, enum tty_code_code); const char *tty_term_string(struct tty_term *, enum tty_code_code); |