1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/src/terminal/itrm.h
Jonas Fonseca acf2ec806b Remove empty lines in start of header files
A left over from the CVS Id removal. Also, for a few files, normalize the
order in which things are declared in headers.
2005-11-15 11:33:27 +01:00

42 lines
878 B
C

#ifndef EL__TERMINAL_ITRM_H
#define EL__TERMINAL_ITRM_H
#define ITRM_OUT_QUEUE_SIZE 16384
#define ITRM_IN_QUEUE_SIZE 16
struct itrm_queue {
unsigned char *data;
int len;
};
struct itrm_in {
int std;
int sock;
int ctl;
struct itrm_queue queue;
};
struct itrm_out {
int std;
int sock;
struct itrm_queue queue;
};
struct itrm {
struct itrm_in in; /* Input */
struct itrm_out out; /* Output */
timer_id_T timer; /* ESC timeout timer */
struct termios t; /* For restoring original attributes */
void *mouse_h; /* Mouse handle */
unsigned char *orig_title; /* For restoring window title */
unsigned int blocked:1; /* Whether it was blocked */
unsigned int altscreen:1; /* Whether to use alternate screen */
unsigned int touched_title:1; /* Whether the term title was changed */
unsigned int remote:1; /* Whether it is a remote session */
};
#endif