Lines Matching defs:VTermState
41 struct VTermState struct
45 const VTermStateCallbacks *callbacks; argument
46 void *cbdata;
48 int rows;
49 int cols;
52 VTermPos pos;
54 int at_phantom; /* True if we're on the "81st" phantom column to defer a wraparound */
56 int scrollregion_top;
57 int scrollregion_bottom; /* -1 means unbounded */
59 int scrollregion_left;
61 int scrollregion_right; /* -1 means unbounded */
65 unsigned char *tabstops;
67 VTermLineInfo *lineinfo;
72 int mouse_col, mouse_row;
73 int mouse_buttons;
74 int mouse_flags;
75 enum { MOUSE_X10, MOUSE_UTF8, MOUSE_SGR, MOUSE_RXVT } mouse_protocol;
78 uint32_t *combine_chars;
79 size_t combine_chars_size; // Number of ELEMENTS in the above
80 int combine_width; // The width of the glyph above
81 VTermPos combine_pos; // Position before movement
83 struct {
96 } mode;
98 VTermEncodingInstance encoding[4], encoding_utf8;
99 int gl_set, gr_set, gsingle_set;
101 struct VTermPen pen;
103 VTermColor default_fg;
104 VTermColor default_bg;
105 VTermColor colors[16]; // Store the 8 ANSI and the 8 ANSI high-brights only
107 int fg_index;
108 int bg_index;
109 int bold_is_highbright;
111 unsigned int protected_cell : 1;
114 struct {
123 } saved;