config: add 'scrollback-indicator-format' option

The value of this option must be either 'percent', or 'line', and
determines _how_ we render the scrollback indicator.
This commit is contained in:
Daniel Eklöf 2020-07-24 18:34:19 +02:00
parent e945063620
commit 5b868fd0c9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 20 additions and 0 deletions

View file

@ -41,6 +41,7 @@ struct config {
int scrollback_lines;
bool scrollback_indicator;
enum {SCROLLBACK_INDICATOR_PERCENT, SCROLLBACK_INDICATOR_LINENO} scrollback_indicator_format;
struct {
uint32_t fg;