mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-10 09:43:26 +00:00
Fix default cell variant generation
This commit is contained in:
parent
cf88450f70
commit
48cb0dbb6a
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ def cell_variant(opts: Options = defaults, only_fg: bool = False, only_bg: bool
|
|||
case 'ratio':
|
||||
text_fg_override_threshold = max(0, min(text_fg_override_threshold, 21.0))
|
||||
algo = '2'
|
||||
if not text_fg_override_threshold:
|
||||
algo = '0'
|
||||
return {
|
||||
'FG_OVERRIDE_ALGO': algo,
|
||||
'TEXT_NEW_GAMMA': 'false' if opts.text_composition_strategy == 'legacy' else 'true',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue