mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: rename scrollback-indicator-style value 'static' to 'fixed'
This commit is contained in:
parent
e3be2cbd6f
commit
9edd71a741
3 changed files with 6 additions and 6 deletions
6
config.c
6
config.c
|
|
@ -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 "
|
||||
|
|
|
|||
2
config.h
2
config.h
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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_.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue