aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-17 08:59:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-17 08:59:12 +0000
commitce544776ab41d19ade9d1689079471029da76ac1 (patch)
tree26a4ebd8b22e8504deaf9f9c272e59267e79a287 /terminal.h
parentterm: restore_cursor: restore lcf flag (diff)
term: move charset variables into an anonymous struct
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index 0d231cbf..18c12ac0 100644
--- a/terminal.h
+++ b/terminal.h
@@ -178,8 +178,11 @@ struct terminal {
enum mouse_tracking mouse_tracking;
enum mouse_reporting mouse_reporting;
- int selected_charset;
- enum charset charset[4]; /* G0-G3 */
+ struct {
+ int selected;
+ enum charset set[4]; /* G0-G3 */
+ } charsets;
+
char *window_title;
tll(char *) window_title_stack;