From 80b95eeb7e66e287a214ca61f765b7da78f2bc2c Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Fri, 26 Feb 2021 16:23:43 -0500 Subject: config: reuse HAVE_TERMINFO via DEFAULT_TERM add detection in --help output also make it more easily accessible for other locations to change --- config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.h') 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 { -- cgit v1.3