Logo (Image): mark kitty image protocol support for warp terminal on macOS

This commit is contained in:
Carter Li
2025-04-05 08:59:35 +08:00
parent 06956d2cf4
commit a7ac89818c
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@
Bugfixes:
* Fix loading example configs from presets directory (#1672)
* Regression of v2.40.2
* Mark kitty image protocol support for warp terminal on macOS too (Logo)
# 2.40.2
+6 -1
View File
@@ -627,7 +627,12 @@ void ffLogoPrint(void)
ffStrbufIgnCaseEqualS(&terminal->processName, "wezterm") ||
ffStrbufIgnCaseEqualS(&terminal->processName, "wayst") ||
ffStrbufIgnCaseEqualS(&terminal->processName, "ghostty") ||
ffStrbufIgnCaseEqualS(&terminal->processName, "warp");
#ifdef __APPLE__
ffStrbufIgnCaseEqualS(&terminal->processName, "WarpTerminal") ||
#else
ffStrbufIgnCaseEqualS(&terminal->processName, "warp") ||
#endif
false;
//Try to load the logo as an image. If it succeeds, print it and return.
if(logoPrintImageIfExists(supportsKitty ? FF_LOGO_TYPE_IMAGE_KITTY : FF_LOGO_TYPE_IMAGE_CHAFA, false))