config: rename scrollback-indicator-style value 'static' to 'fixed'

This commit is contained in:
Daniel Eklöf 2020-07-25 14:40:46 +02:00
parent e3be2cbd6f
commit 9edd71a741
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 6 additions and 6 deletions

View file

@ -294,9 +294,9 @@ parse_section_main(const char *key, const char *value, struct config *conf,
else if (strcmp(key, "scrollback-indicator") == 0) {
if (strcmp(value, "none") == 0)
conf->scrollback.indicator.style = SCROLLBACK_INDICATOR_STYLE_NONE;
else if (strcmp(value, "static") == 0)
conf->scrollback.indicator.style = SCROLLBACK_INDICATOR_STYLE_STATIC;
else if (strcmp(value, "moving") == 0)
else if (strcmp(value, "fixed") == 0)
conf->scrollback.indicator.style = SCROLLBACK_INDICATOR_STYLE_FIXED;
else if (strcmp(value, "relative") == 0)
conf->scrollback.indicator.style = SCROLLBACK_INDICATOR_STYLE_RELATIVE;
else {
LOG_ERR("%s:%d: scrollback-indicator-style must be one of "

View file

@ -45,7 +45,7 @@ struct config {
struct {
enum {
SCROLLBACK_INDICATOR_STYLE_NONE,
SCROLLBACK_INDICATOR_STYLE_STATIC,
SCROLLBACK_INDICATOR_STYLE_FIXED,
SCROLLBACK_INDICATOR_STYLE_RELATIVE
} style;

View file

@ -70,8 +70,8 @@ in this order:
*scrollback-indicator-style*
Configures the style of the scrollback position indicator. One of
*none*, *static* or *relative*. *none* disables the indicator
completely. *static* always renders the indicator near the top at
*none*, *fixed* or *relative*. *none* disables the indicator
completely. *fixed* always renders the indicator near the top at
the window, and *relative* renders the indicator at the position
corresponding to the current scrollback position. Default:
_relative_.