mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-26 06:46:45 -04:00
feat: change meson option type from bool to feature
This commit is contained in:
parent
7b666b2aad
commit
8544ae6112
2 changed files with 3 additions and 3 deletions
|
|
@ -77,7 +77,7 @@ add_project_arguments(
|
|||
['-pedantic',
|
||||
'-fstrict-aliasing',
|
||||
'-Wstrict-aliasing']) +
|
||||
(get_option('ext-underline')
|
||||
(get_option('ext-underline').enabled()
|
||||
? ['-DFOOT_EXT_UNDERLINE=1']
|
||||
: ['-DFOOT_EXT_UNDERLINE=0']),
|
||||
language: 'c',
|
||||
|
|
|
|||
|
|
@ -28,5 +28,5 @@ option('utmp-backend', type: 'combo', value: 'auto', choices: ['none', 'libutemp
|
|||
option('utmp-default-helper-path', type: 'string', value: 'auto',
|
||||
description: 'Default path to the utmp helper binary. Default: auto-detect')
|
||||
|
||||
option('ext-underline', type: 'boolean', value: false,
|
||||
description: 'Enable underline styles & colors from xterm-kitty')
|
||||
option('ext-underline', type: 'feature', value: 'disabled',
|
||||
description: 'Enable underline styles & colors similar to those in kitty terminal')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue