Return to window.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.100, 2014/01/28 22:19:17 | version 1.101, 2014/01/28 23:07:09 | ||
---|---|---|---|
|
|
||
} | } | ||
} | } | ||
} | } | ||
/* Set the grid_cell with fg/bg/attr information when window is in a mode. */ | |||
void | |||
window_mode_attrs(struct grid_cell *gc, struct options *oo) | |||
{ | |||
memcpy(gc, &grid_default_cell, sizeof *gc); | |||
colour_set_fg(gc, options_get_number(oo, "mode-fg")); | |||
colour_set_bg(gc, options_get_number(oo, "mode-bg")); | |||
gc->attr |= options_get_number(oo, "mode-attr"); | |||
} |