mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-18 22:05:25 -05:00
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:
parent
0b07bf78f0
commit
8b092256d1
5 changed files with 22 additions and 10 deletions
4
config.c
4
config.c
|
|
@ -1956,7 +1956,11 @@ config_load(struct config *conf, const char *conf_path,
|
|||
bool ret = false;
|
||||
|
||||
*conf = (struct config) {
|
||||
#ifdef HAVE_TERMINFO
|
||||
.term = xstrdup("foot"),
|
||||
#else
|
||||
.term = xstrdup("xterm-256color"),
|
||||
#endif
|
||||
.shell = get_shell(),
|
||||
.title = xstrdup("foot"),
|
||||
.app_id = xstrdup("foot"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue