mirror of
https://github.com/tmux/tmux.git
synced 2026-10-09 11:44:23 +00:00
Merge branch 'obsd-master'
This commit is contained in:
@@ -37,8 +37,7 @@ enum mode_tree_preview {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define MODE_TREE_PREFIX_STYLE \
|
#define MODE_TREE_PREFIX_STYLE \
|
||||||
"#{?mode_tree_selected,#[default]#[noacs]," \
|
"#[fg=themelightgrey]#[bg=default]#[noacs]"
|
||||||
"#[fg=themelightgrey]#[bg=default]#[noacs]}"
|
|
||||||
|
|
||||||
#define MODE_TREE_PREFIX_FORMAT \
|
#define MODE_TREE_PREFIX_FORMAT \
|
||||||
MODE_TREE_PREFIX_STYLE \
|
MODE_TREE_PREFIX_STYLE \
|
||||||
@@ -950,16 +949,16 @@ mode_tree_draw(struct mode_tree_data *mtd)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
screen_write_clearendofline(&ctx, gc.bg);
|
screen_write_clearendofline(&ctx, gc.bg);
|
||||||
format_draw(&ctx, &gc, prefix_width, prefix, NULL, 0);
|
format_draw(&ctx, &gc, prefix_width, prefix, NULL, 1);
|
||||||
if (left != 0) {
|
if (left != 0) {
|
||||||
screen_write_cursormove(&ctx, prefix_width,
|
screen_write_cursormove(&ctx, prefix_width,
|
||||||
i - mtd->offset, 0);
|
i - mtd->offset, 0);
|
||||||
format_draw(&ctx, &gc, left, text, NULL, 0);
|
format_draw(&ctx, &gc, left, text, NULL, 1);
|
||||||
if (mti->text != NULL && width < w) {
|
if (mti->text != NULL && width < w) {
|
||||||
screen_write_cursormove(&ctx, width,
|
screen_write_cursormove(&ctx, width,
|
||||||
i - mtd->offset, 0);
|
i - mtd->offset, 0);
|
||||||
format_draw(&ctx, &gc, w - width,
|
format_draw(&ctx, &gc, w - width,
|
||||||
mti->text, NULL, 0);
|
mti->text, NULL, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user