config: add scrollback section

* Move 'scrollback' to 'scrollback.lines'
* Move (the new) 'scrollback-indicator-*' options to
  'scrollback.indicator-*'

Log a deprecation warning when the old 'scrollback' option is used,
but don't remove it, yet.
This commit is contained in:
Daniel Eklöf 2020-07-29 17:41:24 +02:00
parent 25e745cd8a
commit d11d374252
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 53 additions and 17 deletions

8
footrc
View file

@ -1,9 +1,6 @@
# -*- conf -*-
# font=monospace
# scrollback=1000
# scrollback-indicator-position=relative
# scrollback-indicator-format=
# geometry=700x500
# pad=2x2
# initial-window-mode=windowed
@ -12,6 +9,11 @@
# login-shell=no
# workers=<number of logical CPUs>
[scrollback]
# lines=1000
# indicator-position=relative
# indicator-format=
[cursor]
# style=block
# color=111111 dcdccc