config: rename show-scrollback-position to scrollback-indicator

This commit is contained in:
Daniel Eklöf 2020-07-24 18:26:44 +02:00
parent 2c6f7adc17
commit e945063620
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 6 additions and 6 deletions

View file

@ -291,8 +291,8 @@ parse_section_main(const char *key, const char *value, struct config *conf,
conf->scrollback_lines = lines;
}
else if (strcmp(key, "show-scrollback-position") == 0)
conf->show_scrollback_position = str_to_bool(value);
else if (strcmp(key, "scrollback-indicator") == 0)
conf->scrollback_indicator = str_to_bool(value);
else {
LOG_ERR("%s:%u: invalid key: %s", path, lineno, key);
@ -921,7 +921,7 @@ config_load(struct config *conf, const char *conf_path)
.startup_mode = STARTUP_WINDOWED,
.fonts = tll_init(),
.scrollback_lines = 1000,
.show_scrollback_position = true,
.scrollback_indicator = true,
.colors = {
.fg = default_foreground,