Fix terminal font output in kitty (#484)
Some checks failed
Shellcheck / check (push) Has been cancelled

[fix] fix terminal font output in kitty
This commit is contained in:
Enid Brown 2026-03-08 15:06:08 +01:00 committed by GitHub
parent b81d5fed1b
commit 352a1ba086
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4783,8 +4783,8 @@ END
term_font="from kitty.cli import *; o = create_default_opts(); \
print(f'{o.font_family} {o.font_size}')"
term_font="$(kitty +runpy ''"$term_font"'')"
term_font="${term_font//=}"
term_font="${term_font//\'}"
term_font="${term_font#family=}"
term_font="$(trim_quotes "${term_font}")"
;;
"konsole" | "yakuake")