diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-27 17:08:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-27 17:08:49 +0000 |
| commit | 1d3498989bb159a56fd9839b686777a9fd3618ba (patch) | |
| tree | 7cb00fb0279cb49cb261a1ab49ca182d28527661 /config.h | |
| parent | changelog: add new 'unreleased' section (diff) | |
| parent | changelog: move scrollback indicator entries from 1.4.3 to 'unreleased' (diff) | |
Merge branch 'scrollback-position-indicator'
Closes #42
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -39,7 +39,22 @@ struct config { tll(struct config_font) fonts; - int scrollback_lines; + struct { + int lines; + + struct { + enum { + SCROLLBACK_INDICATOR_STYLE_NONE, + SCROLLBACK_INDICATOR_STYLE_FIXED, + SCROLLBACK_INDICATOR_STYLE_RELATIVE + } style; + + enum { + SCROLLBACK_INDICATOR_FORMAT_PERCENTAGE, + SCROLLBACK_INDICATOR_FORMAT_LINENO + } format; + } indicator; + } scrollback; struct { uint32_t fg; |
