Skip to content
Discussion options

You must be logged in to vote

This is totally doable without going non-native. I don't know much about Swift, but a little StackOverflow goes a long way, and I was able to figure out a minimal proof-of-concept by applying the following diff:

diff --git a/macos/Sources/Features/Terminal/TerminalController.swift b/macos/Sources/Features/Terminal/TerminalController.swift
index f2868adb..0b6e8598 100644
--- a/macos/Sources/Features/Terminal/TerminalController.swift
+++ b/macos/Sources/Features/Terminal/TerminalController.swift
@@ -240,6 +240,10 @@ class TerminalController: BaseTerminalController {
             window.titlebarFont = nil
         }
 
+        window.standardWindowButton(.closeButton)?.isHidden = true
+

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@davidsanchez222
Comment options

@taylrfnt
Comment options

@davidsanchez222
Comment options

@rhodes-b
Comment options

Comment options

You must be logged in to vote
2 replies
@danielwe
Comment options

danielwe Jun 2, 2025
Collaborator

@davidsanchez222
Comment options

Answer selected by davidsanchez222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment