=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.926 retrieving revision 1.927 diff -u -r1.926 -r1.927 --- src/usr.bin/tmux/tmux.h 2019/08/28 07:34:32 1.926 +++ src/usr.bin/tmux/tmux.h 2019/09/15 21:42:57 1.927 @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.926 2019/08/28 07:34:32 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.927 2019/09/15 21:42:57 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -680,6 +680,13 @@ }; TAILQ_HEAD(style_ranges, style_range); +/* Style default. */ +enum style_default_type { + STYLE_DEFAULT_BASE, + STYLE_DEFAULT_PUSH, + STYLE_DEFAULT_POP +}; + /* Style option. */ struct style { struct grid_cell gc; @@ -690,6 +697,8 @@ enum style_range_type range_type; u_int range_argument; + + enum style_default_type default_type; }; /* Virtual screen. */ @@ -2647,8 +2656,6 @@ const char *); const char *style_tostring(struct style *); void style_apply(struct grid_cell *, struct options *, - const char *); -void style_apply_update(struct grid_cell *, struct options *, const char *); int style_equal(struct style *, struct style *); void style_set(struct style *, const struct grid_cell *);