mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
config: rename scrollback-indicator-style value 'moving' to 'relative'
This commit is contained in:
parent
c4679e474e
commit
e3be2cbd6f
4 changed files with 7 additions and 7 deletions
4
config.c
4
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,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue