aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.c b/config.c
index 883cf27c..54c8e60f 100644
--- a/config.c
+++ b/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"),