mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
main: call fcft_log_init(). Note that this requires fcft >= 2.3.90
This commit is contained in:
parent
98d77b94c1
commit
353c2f012a
2 changed files with 5 additions and 1 deletions
4
main.c
4
main.c
|
|
@ -371,6 +371,10 @@ main(int argc, char *const *argv)
|
|||
log_init(log_colorize, as_server && log_syslog,
|
||||
as_server ? LOG_FACILITY_DAEMON : LOG_FACILITY_USER, log_level);
|
||||
|
||||
_Static_assert(LOG_CLASS_ERROR + 1 == FCFT_LOG_CLASS_ERROR,
|
||||
"fixme: fcft log level enum offset");
|
||||
fcft_log_init(log_colorize, as_server && log_syslog, log_level + 1);
|
||||
|
||||
argc -= optind;
|
||||
argv += optind;
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ xkb = dependency('xkbcommon', version: '>=1.0.0')
|
|||
fontconfig = dependency('fontconfig')
|
||||
|
||||
tllist = dependency('tllist', version: '>=1.0.4', fallback: 'tllist')
|
||||
fcft = dependency('fcft', version: ['>=2.3.0', '<3.0.0'], fallback: 'fcft')
|
||||
fcft = dependency('fcft', version: ['>=2.3.90', '<3.0.0'], fallback: 'fcft')
|
||||
|
||||
tic = find_program('tic', native: true, required: get_option('terminfo'))
|
||||
if tic.found()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue