meson: optionalize terminfo dependency

ncurses on FreeBSD still uses termcap(5) while foot works fine with
xterm-256color sans status line and visible bell. Having more than
one ncurses version installed may break other applications.

Document -Dterminfo=false uses --term=xterm-256color by default
This commit is contained in:
Jan Beich 2021-01-19 14:22:41 +00:00 committed by Daniel Eklöf
parent e3a1dfcf5a
commit 15f2bebdcb
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 22 additions and 10 deletions

View file

@ -29,7 +29,8 @@ in this order:
by prepending a '-' to argv[0]. Default: _no_.
*term*
Value to set the environment variable *TERM* to. Default: _foot_.
Value to set the environment variable *TERM* to. Default: _foot_
or _xterm-256color_ if built with _-Dterminfo=false_
*font*, *font-bold*, *font-italic*, *font-bold-italic*
Comma separated list of fonts to use, in fontconfig format. That