Allow style #[] in mode formats.

This commit is contained in:
nicm
2018-11-12 14:18:10 +00:00
parent 09aee53763
commit 86e648d906
2 changed files with 5 additions and 4 deletions

View File

@ -582,10 +582,10 @@ mode_tree_draw(struct mode_tree_data *mtd)
}
if (i != mtd->current) {
screen_write_nputs(&ctx, w, &gc0, "%s", text);
screen_write_cnputs(&ctx, w, &gc0, "%s", text);
screen_write_clearendofline(&ctx, 8);
} else {
screen_write_nputs(&ctx, w, &gc, "%s", text);
screen_write_cnputs(&ctx, w, &gc, "%s", text);
screen_write_clearendofline(&ctx, gc.bg);
}
free(text);