aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-09 15:26:24 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-09 15:26:24 +0000
commit15f6a41a753196bd59607f1ca0ea082608bbc3eb (patch)
treec1e0bf5354d9079c3218c474f1780df9ceaecbb8 /tmux.h
parent75b6736cf45d4b7b8b4873b4ad6d0cb85e56dcfb (diff)
downloadrtmux-15f6a41a753196bd59607f1ca0ea082608bbc3eb.tar.gz
rtmux-15f6a41a753196bd59607f1ca0ea082608bbc3eb.tar.bz2
rtmux-15f6a41a753196bd59607f1ca0ea082608bbc3eb.zip
Sync OpenBSD patchset 211:
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index edab6ab7..717c7f8a 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.401 2009-07-30 20:57:39 tcunha Exp $ */
+/* $Id: tmux.h,v 1.402 2009-08-09 15:26:24 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1129,7 +1129,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 *);
@@ -1152,7 +1152,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);