aboutsummaryrefslogtreecommitdiffstats
path: root/src/termchar.h
diff options
context:
space:
mode:
authorEli Zaretskii2013-03-28 20:13:59 +0200
committerEli Zaretskii2013-03-28 20:13:59 +0200
commitd76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e (patch)
tree04fa8bc7bd2058a316a7ee30f8741d25bfd0b060 /src/termchar.h
parent2ef26ceb192c7683754cf0b4aa3087f501254332 (diff)
parente74aeda863cd6896e06e92586f87b45d63d67d15 (diff)
downloademacs-d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e.tar.gz
emacs-d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e.zip
Merge from trunk and resolve conflicts.
Diffstat (limited to 'src/termchar.h')
-rw-r--r--src/termchar.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/termchar.h b/src/termchar.h
index 5c57593c04f..1c8e8646d4e 100644
--- a/src/termchar.h
+++ b/src/termchar.h
@@ -1,5 +1,5 @@
1/* Flags and parameters describing terminal's characteristics. 1/* Flags and parameters describing terminal's characteristics.
2 Copyright (C) 1985-1986, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1985-1986, 2001-2013 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -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. */