Add an "absolute-centre" alignment to use the centre of the total space

instead of only the available space. From Magnus Gross in GitHub issue 2578.
This commit is contained in:
nicm
2021-03-11 06:41:04 +00:00
parent d98f9f7fe5
commit 3eb91efba1
5 changed files with 199 additions and 31 deletions

3
tmux.h
View File

@@ -740,7 +740,8 @@ enum style_align {
STYLE_ALIGN_DEFAULT,
STYLE_ALIGN_LEFT,
STYLE_ALIGN_CENTRE,
STYLE_ALIGN_RIGHT
STYLE_ALIGN_RIGHT,
STYLE_ALIGN_ABSOLUTE_CENTRE
};
/* Style list. */