Skip to content

Commit a7ac898

Browse files
committed
Logo (Image): mark kitty image protocol support for warp terminal on macOS
1 parent 06956d2 commit a7ac898

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Bugfixes:
44
* Fix loading example configs from presets directory (#1672)
55
* Regression of v2.40.2
6+
* Mark kitty image protocol support for warp terminal on macOS too (Logo)
67

78
# 2.40.2
89

src/logo/logo.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,12 @@ void ffLogoPrint(void)
627627
ffStrbufIgnCaseEqualS(&terminal->processName, "wezterm") ||
628628
ffStrbufIgnCaseEqualS(&terminal->processName, "wayst") ||
629629
ffStrbufIgnCaseEqualS(&terminal->processName, "ghostty") ||
630-
ffStrbufIgnCaseEqualS(&terminal->processName, "warp");
630+
#ifdef __APPLE__
631+
ffStrbufIgnCaseEqualS(&terminal->processName, "WarpTerminal") ||
632+
#else
633+
ffStrbufIgnCaseEqualS(&terminal->processName, "warp") ||
634+
#endif
635+
false;
631636

632637
//Try to load the logo as an image. If it succeeds, print it and return.
633638
if(logoPrintImageIfExists(supportsKitty ? FF_LOGO_TYPE_IMAGE_KITTY : FF_LOGO_TYPE_IMAGE_CHAFA, false))

0 commit comments

Comments
 (0)