aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2021-02-26 21:23:43 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-26 14:15:05 +0000
commit80b95eeb7e66e287a214ca61f765b7da78f2bc2c (patch)
treef73d5da662b6677b4c2b29ffee5e8fc6acb482b9 /config.h
parentgrid: snapshot: don’t mark all cells as dirty - copy state from source grid (diff)
config: reuse HAVE_TERMINFO via DEFAULT_TERM
add detection in --help output also make it more easily accessible for other locations to change
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h b/config.h
index e8d15859..c857fae4 100644
--- a/config.h
+++ b/config.h
@@ -9,6 +9,12 @@
#include "user-notification.h"
#include "wayland.h"
+#ifdef HAVE_TERMINFO
+ #define DEFAULT_TERM "foot"
+#else
+ #define DEFAULT_TERM "xterm-256color"
+#endif
+
enum conf_size_type {CONF_SIZE_PX, CONF_SIZE_CELLS};
struct config_font {