mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-23 01:40:12 -05:00
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:
parent
5b868fd0c9
commit
c4679e474e
6 changed files with 54 additions and 20 deletions
2
render.c
2
render.c
|
|
@ -1290,7 +1290,7 @@ render_csd(struct terminal *term)
|
|||
static void
|
||||
render_scrollback_position(struct terminal *term)
|
||||
{
|
||||
if (!term->conf->scrollback_indicator)
|
||||
if (term->conf->scrollback.indicator.style == SCROLLBACK_INDICATOR_STYLE_NONE)
|
||||
return;
|
||||
|
||||
/* Find absolute row number of the scrollback start */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue