config: rename scrollback-indicator to scrollback-indicator-style

And turn it from a boolean to an enum. It can be set to:

* `none` - disables the indicator
* `static` - always rendered near the top of the window
* `moving` - position reflects the scrollback position
This commit is contained in:
Daniel Eklöf 2020-07-25 14:31:45 +02:00
parent 5b868fd0c9
commit c4679e474e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 54 additions and 20 deletions

View file

@ -909,7 +909,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
.tab_stops = tll_init(),
.wl = wayl,
.render = {
.scrollback_lines = conf->scrollback_lines,
.scrollback_lines = conf->scrollback.lines,
.app_sync_updates.timer_fd = app_sync_updates_fd,
.workers = {
.count = conf->render_worker_count,