fix perm_invent via 'O' border issue
> Start with default symbol set and with perm_invent Off. > Use 'O' to change perm_invent to On. The inventory with > boundary box lines will briefly appear, then immediately be > redrawn without those lines.
This commit is contained in:
@@ -560,7 +560,8 @@ tty_preference_update(const char *pref)
|
||||
than temporary switch to the rogue one), redraw perm_invent; not
|
||||
only might individual symbols change (punctuation vs line drawing),
|
||||
the way to render them might change too (Handling: DEC/UTF8/&c) */
|
||||
if (!strcmp(pref, "symset") && iflags.window_inited) {
|
||||
if ((!strcmp(pref, "symset") || !strcmp(pref, "perm_invent"))
|
||||
&& iflags.window_inited) {
|
||||
if (g.perm_invent_win != WIN_ERR)
|
||||
tty_invent_box_glyph_init(wins[g.perm_invent_win]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user