mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 03:48:51 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
87babfa473
@ -554,10 +554,12 @@ mode_tree_draw(struct mode_tree_data *mtd)
|
||||
}
|
||||
|
||||
if (i != mtd->current) {
|
||||
screen_write_puts(&ctx, &gc0, "%.*s", w, text);
|
||||
screen_write_nputs(&ctx, w, &gc0, "%s", text);
|
||||
screen_write_clearendofline(&ctx, 8);
|
||||
} else
|
||||
screen_write_puts(&ctx, &gc, "%-*.*s", w, w, text);
|
||||
} else {
|
||||
screen_write_nputs(&ctx, w, &gc, "%s", text);
|
||||
screen_write_clearendofline(&ctx, gc.bg);
|
||||
}
|
||||
free(text);
|
||||
|
||||
if (mti->tagged) {
|
||||
|
Loading…
Reference in New Issue
Block a user