include_HEADERS = madtty.h
lib_LIBRARIES = libmadtty
-libmadtty_SOURCES = madtty.h roteprivate.h \
+libmadtty_SOURCES = madtty.h madtty_priv.h \
madtty.c inject.c
libmadtty_CPPFLAGS = -Wno-error
libmadtty_VERSION = @PACKAGE_VERSION@
#include <sys/ioctl.h>
#include "madtty.h"
-#include "roteprivate.h"
+#include "madtty_priv.h"
RoteTerm *rote_vt_create(int rows, int cols)
{
RoteTermPrivate *pd; /* private state data */
bool insert; /* insert or replace mode */
+
/* --- dirtiness flags: the following flags will be raised when the
* corresponding items are modified. They can only be unset by YOU
* (when, for example, you redraw the term or something) --- */
Copyright © 2006 Pierre Habouzit
*/
-#ifndef btco_ROTE_vtstate_h
-#define btco_ROTE_vtstate_h
+#ifndef MADTTY_MADTTY_PRIV_H
+#define MADTTY_MADTTY_PRIV_H
#define ESEQ_BUF_SIZE 128 /* size of escape sequence buffer */
-#define MAX_CUSTOM_ES_HANDLERS 32
/* Terminal private data */
struct RoteTermPrivate_ {
- bool escaped; /* whether we are currently reading an
+ unsigned escaped : 1; /* whether we are currently reading an
* escape sequence */
- bool graphmode; /* whether terminal is in graphical
+ unsigned graphmode : 1; /* whether terminal is in graphical
* character mode or not */
int scrolltop, scrollbottom; /* current scrolling region of terminal */
* related fields in it */
void rote_es_interpret_csi(RoteTerm *rt);
-#endif
+#endif /* MADTTY_MADTTY_PRIV_H */