diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2021-01-19 14:22:41 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-23 09:18:09 +0000 |
| commit | 8b092256d1cec7f93ac7d0cfec073c31b455a42e (patch) | |
| tree | cff91266e2bf8e9df096b858e6da7528dd00843d /config.c | |
| parent | meson: depend on wayland-client when using wayland-protocols (diff) | |
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
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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"), |
