aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-25 12:38:36 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-25 12:38:36 +0000
commite3be2cbd6f62baaa81dcae62b24731668ac764b5 (patch)
tree4df722f9eefaa7375009721885956f6c33fb6ac8 /config.c
parentconfig: rename scrollback-indicator to scrollback-indicator-style (diff)
config: rename scrollback-indicator-style value 'moving' to 'relative'
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 7c4c9d9f..59b824b8 100644
--- a/config.c
+++ b/config.c
@@ -297,7 +297,7 @@ parse_section_main(const char *key, const char *value, struct config *conf,
else if (strcmp(value, "static") == 0)
conf->scrollback.indicator.style = SCROLLBACK_INDICATOR_STYLE_STATIC;
else if (strcmp(value, "moving") == 0)
- conf->scrollback.indicator.style = SCROLLBACK_INDICATOR_STYLE_MOVING;
+ conf->scrollback.indicator.style = SCROLLBACK_INDICATOR_STYLE_RELATIVE;
else {
LOG_ERR("%s:%d: scrollback-indicator-style must be one of "
"'none', 'static' or 'moving'",
@@ -948,7 +948,7 @@ config_load(struct config *conf, const char *conf_path)
.scrollback = {
.lines = 1000,
.indicator = {
- .style = SCROLLBACK_INDICATOR_STYLE_MOVING,
+ .style = SCROLLBACK_INDICATOR_STYLE_RELATIVE,
.format = SCROLLBACK_INDICATOR_FORMAT_PERCENT,
},
},