diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-24 16:20:26 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-24 16:20:26 +0000 |
| commit | 2c6f7adc17832c77b2353338b0c76c8a19f4112b (patch) | |
| tree | cf9aaded753e8338e398e9aed1ab5bb675a27193 /config.c | |
| parent | render: add code that calculates current position in scrollback (diff) | |
config: add 'show-scrollback-position' option to footrc
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -291,6 +291,9 @@ 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 { LOG_ERR("%s:%u: invalid key: %s", path, lineno, key); return false; @@ -918,6 +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, .colors = { .fg = default_foreground, |
