aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-24 16:34:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-24 16:35:34 +0000
commit5b868fd0c94af61e62a28a80a4bd337f9cbb25b4 (patch)
tree89e7db3c25515bedf7cdc5d31ec40373dc90d2c3 /config.h
parentconfig: rename show-scrollback-position to scrollback-indicator (diff)
config: add 'scrollback-indicator-format' option
The value of this option must be either 'percent', or 'line', and determines _how_ we render the scrollback indicator.
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index f0f077be..109eecb8 100644
--- a/config.h
+++ b/config.h
@@ -41,6 +41,7 @@ struct config {
int scrollback_lines;
bool scrollback_indicator;
+ enum {SCROLLBACK_INDICATOR_PERCENT, SCROLLBACK_INDICATOR_LINENO} scrollback_indicator_format;
struct {
uint32_t fg;