Created
June 2, 2016 17:30
-
-
Save MrDOS/c00e24b8b3b80ad9d68e9a62ecd21633 to your computer and use it in GitHub Desktop.
Borderless window patch for iTerm 2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 4c4d79c68bb8da4a9f00134ed5adab78d2288ba7 Mon Sep 17 00:00:00 2001 | |
| From: Samuel Coleman <[email protected]> | |
| Date: Thu, 2 Jun 2016 13:23:01 -0400 | |
| Subject: [PATCH 1/1] Make terminal windows borderless. | |
| This removes the title bar from terminal windows. It has the | |
| unfortunate side effect of also making it impossible to resize/move the | |
| windows with the mouse. It is most usable when accompanied by a tiling | |
| window management application like [Spectacle][1]. | |
| [1]: https://www.spectacleapp.com/ | |
| --- | |
| sources/PseudoTerminal.m | 3 +-- | |
| 1 file changed, 1 insertion(+), 2 deletions(-) | |
| diff --git a/sources/PseudoTerminal.m b/sources/PseudoTerminal.m | |
| index 87b79e2..72e9328 100644 | |
| --- a/sources/PseudoTerminal.m | |
| +++ b/sources/PseudoTerminal.m | |
| @@ -337,8 +337,7 @@ + (NSInteger)styleMaskForWindowType:(iTermWindowType)windowType { | |
| return NSBorderlessWindowMask; | |
| default: | |
| - return (NSTitledWindowMask | | |
| - NSClosableWindowMask | | |
| + return (NSClosableWindowMask | | |
| NSMiniaturizableWindowMask | | |
| NSResizableWindowMask | | |
| NSTexturedBackgroundWindowMask); | |
| -- | |
| 2.7.4 (Apple Git-66) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment