aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-25 12:31:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-25 12:31:45 +0000
commitc4679e474e0546ee8dad6e122c226ece85bdb134 (patch)
tree7621016462ce4d9346b4ed01ff3e06750f15871e /terminal.c
parentconfig: add 'scrollback-indicator-format' option (diff)
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
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 86672f06..1e355fe3 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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,