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 08:52:42 +0000 |
| commit | 15f2bebdcb972c26fed6070ef03cefebadaa593b (patch) | |
| tree | ccef6a0bdacfe7e09f994f155ce38c01c4fc42bd /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
@@ -2042,7 +2042,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"), |
