enhance: added support for kitty terminal on macOS and Linux. (#1300)

This commit is contained in:
Bailey Allen 2025-05-12 13:17:20 +12:00 committed by GitHub
parent 19a51f227b
commit bac21c5714
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View file

@ -42,7 +42,8 @@ namespace SourceGit.Models
new ShellOrTerminal("mac-terminal", "Terminal", ""), new ShellOrTerminal("mac-terminal", "Terminal", ""),
new ShellOrTerminal("iterm2", "iTerm", ""), new ShellOrTerminal("iterm2", "iTerm", ""),
new ShellOrTerminal("warp", "Warp", ""), new ShellOrTerminal("warp", "Warp", ""),
new ShellOrTerminal("ghostty", "Ghostty", "") new ShellOrTerminal("ghostty", "Ghostty", ""),
new ShellOrTerminal("kitty", "kitty", "")
}; };
} }
else else
@ -58,6 +59,7 @@ namespace SourceGit.Models
new ShellOrTerminal("foot", "Foot", "foot"), new ShellOrTerminal("foot", "Foot", "foot"),
new ShellOrTerminal("wezterm", "WezTerm", "wezterm"), new ShellOrTerminal("wezterm", "WezTerm", "wezterm"),
new ShellOrTerminal("ptyxis", "Ptyxis", "ptyxis"), new ShellOrTerminal("ptyxis", "Ptyxis", "ptyxis"),
new ShellOrTerminal("kitty", "kitty", "kitty"),
new ShellOrTerminal("custom", "Custom", ""), new ShellOrTerminal("custom", "Custom", ""),
}; };
} }

View file

@ -59,6 +59,8 @@ namespace SourceGit.Native
return "Warp"; return "Warp";
case "ghostty": case "ghostty":
return "Ghostty"; return "Ghostty";
case "kitty":
return "kitty";
} }
return string.Empty; return string.Empty;

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B