summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2021-03-11 06:41:04 +0000
committernicm <nicm>2021-03-11 06:41:04 +0000
commit3eb91efba160eff0b077a5fee902edb632f7fdca (patch)
tree790d6916f3b921043d6b9e5408e3b9a2b3f377c2 /tmux.h
parentd98f9f7fe56beefeb294184ffaed24b7ea510a97 (diff)
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.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 3a75e678..e8d2e8c3 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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. */