From a7ac89818c197168b0d455f3f31d79fe31db5fc7 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Sat, 5 Apr 2025 08:59:35 +0800 Subject: [PATCH] Logo (Image): mark kitty image protocol support for warp terminal on macOS --- CHANGELOG.md | 1 + src/logo/logo.c | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e67e261e..991e2408c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/logo/logo.c b/src/logo/logo.c index 55be83780..7d80aa40f 100644 --- a/src/logo/logo.c +++ b/src/logo/logo.c @@ -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))