Skip to content

Commit bac21c5

Browse files
enhance: added support for kitty terminal on macOS and Linux. (#1300)
1 parent 19a51f2 commit bac21c5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/Models/ShellOrTerminal.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ static ShellOrTerminal()
4242
new ShellOrTerminal("mac-terminal", "Terminal", ""),
4343
new ShellOrTerminal("iterm2", "iTerm", ""),
4444
new ShellOrTerminal("warp", "Warp", ""),
45-
new ShellOrTerminal("ghostty", "Ghostty", "")
45+
new ShellOrTerminal("ghostty", "Ghostty", ""),
46+
new ShellOrTerminal("kitty", "kitty", "")
4647
};
4748
}
4849
else
@@ -58,6 +59,7 @@ static ShellOrTerminal()
5859
new ShellOrTerminal("foot", "Foot", "foot"),
5960
new ShellOrTerminal("wezterm", "WezTerm", "wezterm"),
6061
new ShellOrTerminal("ptyxis", "Ptyxis", "ptyxis"),
62+
new ShellOrTerminal("kitty", "kitty", "kitty"),
6163
new ShellOrTerminal("custom", "Custom", ""),
6264
};
6365
}

src/Native/MacOS.cs

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ public string FindTerminal(Models.ShellOrTerminal shell)
5959
return "Warp";
6060
case "ghostty":
6161
return "Ghostty";
62+
case "kitty":
63+
return "kitty";
6264
}
6365

6466
return string.Empty;
763 Bytes
Loading

0 commit comments

Comments
 (0)