term: move charset variables into an anonymous struct

This commit is contained in:
Daniel Eklöf 2019-11-17 09:59:12 +01:00
parent 36bcb0dac1
commit ce544776ab
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 23 additions and 14 deletions

View file

@ -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;