Proper support for tab stops (\033H etc), using a bitstring(3). Makes another

vttest test happy.
This commit is contained in:
Nicholas Marriott
2009-06-04 18:48:24 +00:00
parent d6015824dd
commit d42fb43f4f
3 changed files with 80 additions and 8 deletions

4
tmux.h
View File

@ -26,6 +26,7 @@
#include <sys/queue.h>
#include <sys/tree.h>
#include <bitstring.h>
#include <getopt.h>
#include <limits.h>
#include <poll.h>
@ -507,6 +508,8 @@ struct screen {
int mode;
bitstr_t *tabs;
struct screen_sel sel;
};
@ -1397,6 +1400,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(