mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 06:04:15 +00:00
Fix Ghostty detection inside tmux for inline images (#299)
This commit is contained in:
parent
1e1a92ea47
commit
e904b11e7b
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ export function detectCapabilities(): TerminalCapabilities {
|
||||||
return { images: "kitty", trueColor: true, hyperlinks: true };
|
return { images: "kitty", trueColor: true, hyperlinks: true };
|
||||||
}
|
}
|
||||||
|
|
||||||
if (termProgram === "ghostty" || term.includes("ghostty")) {
|
if (termProgram === "ghostty" || term.includes("ghostty") || process.env.GHOSTTY_RESOURCES_DIR) {
|
||||||
return { images: "kitty", trueColor: true, hyperlinks: true };
|
return { images: "kitty", trueColor: true, hyperlinks: true };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue