mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
config: reuse HAVE_TERMINFO via DEFAULT_TERM
add detection in --help output also make it more easily accessible for other locations to change
This commit is contained in:
parent
792202bf29
commit
80b95eeb7e
3 changed files with 9 additions and 7 deletions
6
config.h
6
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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue