/* Change the palette */
palette_reset(s);
+ /* Reinitialise line codepage */
+ init_ucs(s);
+
/* Pass new config data to the terminal */
term_reconfig(s->term, &s->cfg);
if (s->cfg.height != prev_cfg.height ||
s->cfg.width != prev_cfg.width ||
s->cfg.savelines != prev_cfg.savelines) {
- term_size(s->term, s->cfg.height, s->cfg.width, s->cfg.savelines);
request_resize(s, s->cfg.width, s->cfg.height);
}
if (s->cfg.wintitle[0])
set_title(s, s->cfg.wintitle);
- /* TODO: zoom, scroll bar, font */
+ /* Scroll bar */
+ if (s->cfg.scrollbar != prev_cfg.scrollbar)
+ request_resize(s, s->cfg.width, s->cfg.height);
+
+ /* TODO: zoom, font */
}
}