From ce544776ab41d19ade9d1689079471029da76ac1 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 17 Nov 2019 09:59:12 +0100 Subject: term: move charset variables into an anonymous struct --- terminal.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'terminal.h') 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; -- cgit v1.3