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-25 15:54:38 +00:00
parent cd71a13a14
commit 1b245388b5
3 changed files with 83 additions and 11 deletions

6
tmux.h
View File

@ -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(