Skip to content

Commit 6a1026c

Browse files
authored
feature: Add Ghostty to macOS terminals. (#928)
1 parent fa07bb5 commit 6a1026c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/Models/ShellOrTerminal.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ static ShellOrTerminal()
4242
new ShellOrTerminal("mac-terminal", "Terminal", ""),
4343
new ShellOrTerminal("iterm2", "iTerm", ""),
4444
new ShellOrTerminal("warp", "Warp", ""),
45+
new ShellOrTerminal("ghostty", "Ghostty", "")
4546
};
4647
}
4748
else

src/Native/MacOS.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public string FindTerminal(Models.ShellOrTerminal shell)
4444
return "iTerm";
4545
case "warp":
4646
return "Warp";
47+
case "ghostty":
48+
return "Ghostty";
4749
}
4850

4951
return string.Empty;
4.38 KB
Loading

0 commit comments

Comments
 (0)