aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 15:54:38 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 15:54:38 +0000
commit1b245388b59df11a9a54b03f2f94333c4b21a98f (patch)
tree4093183b6927defb45dcf8369ce2e60dbbf25df8 /tmux.h
parentcd71a13a14912feac991f496e57f7b71d8d26d17 (diff)
downloadrtmux-1b245388b59df11a9a54b03f2f94333c4b21a98f.tar.gz
rtmux-1b245388b59df11a9a54b03f2f94333c4b21a98f.tar.bz2
rtmux-1b245388b59df11a9a54b03f2f94333c4b21a98f.zip
Proper support for tab stops (\033H etc), using a bitstring(3). Makes another
vttest test happy.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 7842c5ae..06756001 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.5 2009/06/03 23:30:40 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.6 2009/06/04 18:48:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -48,6 +48,7 @@
#include <getopt.h>
#endif
+#include <bitstring.h>
#include <limits.h>
#include <signal.h>
#include <stdarg.h>
@@ -576,6 +577,8 @@ struct screen {
int mode;
+ bitstr_t *tabs;
+
struct screen_sel sel;
};
@@ -1518,6 +1521,7 @@ void screen_redraw_status(struct client *);
void screen_init(struct screen *, u_int, u_int, u_int);
void screen_reinit(struct screen *);
void screen_free(struct screen *);
+void screen_reset_tabs(struct screen *);
void screen_set_title(struct screen *, const char *);
void screen_resize(struct screen *, u_int, u_int);
void screen_set_selection(