aboutsummaryrefslogtreecommitdiffstats
path: root/src/termchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/termchar.h')
-rw-r--r--src/termchar.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/termchar.h b/src/termchar.h
index 5c57593c04f..8bffd3e546b 100644
--- a/src/termchar.h
+++ b/src/termchar.h
@@ -50,8 +50,7 @@ struct tty_display_info
50 50
51 struct emacs_tty *old_tty; /* The initial tty mode bits */ 51 struct emacs_tty *old_tty; /* The initial tty mode bits */
52 52
53 int term_initted; /* 1 if we have been through init_sys_modes. */ 53 unsigned term_initted : 1; /* 1 if we have been through init_sys_modes. */
54
55 54
56 int reference_count; /* Number of frames that are on this display. */ 55 int reference_count; /* Number of frames that are on this display. */
57 56
@@ -164,17 +163,12 @@ struct tty_display_info
164 163
165 int RPov; /* # chars to start a TS_repeat */ 164 int RPov; /* # chars to start a TS_repeat */
166 165
167 int delete_in_insert_mode; /* delete mode == insert mode */ 166 unsigned delete_in_insert_mode : 1; /* delete mode == insert mode */
168
169 int se_is_so; /* 1 if same string both enters and leaves
170 standout mode */
171
172 int costs_set; /* Nonzero if costs have been calculated. */
173
174 int insert_mode; /* Nonzero when in insert mode. */
175 int standout_mode; /* Nonzero when in standout mode. */
176 167
168 unsigned costs_set : 1; /* Nonzero if costs have been calculated. */
177 169
170 unsigned insert_mode : 1; /* Nonzero when in insert mode. */
171 unsigned standout_mode : 1; /* Nonzero when in standout mode. */
178 172
179 /* 1 if should obey 0200 bit in input chars as "Meta", 2 if should 173 /* 1 if should obey 0200 bit in input chars as "Meta", 2 if should
180 keep 0200 bit in input chars. 0 to ignore the 0200 bit. */ 174 keep 0200 bit in input chars. 0 to ignore the 0200 bit. */
@@ -192,11 +186,11 @@ struct tty_display_info
192 186
193 /* Flag used in tty_show/hide_cursor. */ 187 /* Flag used in tty_show/hide_cursor. */
194 188
195 int cursor_hidden; 189 unsigned cursor_hidden : 1;
196 190
197 /* Nonzero means use ^S/^Q for flow control. */ 191 /* Nonzero means use ^S/^Q for flow control. */
198 int flow_control;
199 192
193 unsigned flow_control : 1;
200}; 194};
201 195
202/* A chain of structures for all tty devices currently in use. */ 196/* A chain of structures for all tty devices currently in use. */