1
#ifndef EL__TERMINAL_ITRM_H
2
#define EL__TERMINAL_ITRM_H
5
#define ITRM_OUT_QUEUE_SIZE 16384
6
#define ITRM_IN_QUEUE_SIZE 16
17
struct itrm_queue queue;
23
struct itrm_queue queue;
27
struct itrm_in in; /* Input */
28
struct itrm_out out; /* Output */
30
timer_id_T timer; /* ESC timeout timer */
31
struct termios t; /* For restoring original attributes */
32
void *mouse_h; /* Mouse handle */
33
unsigned char *orig_title; /* For restoring window title */
35
unsigned int blocked:1; /* Whether it was blocked */
36
unsigned int altscreen:1; /* Whether to use alternate screen */
37
unsigned int touched_title:1; /* Whether the term title was changed */
38
unsigned int remote:1; /* Whether it is a remote session */