Commit e849783
committed
Fix settings window style and Cmd+W close handling
Add NSToolbar to settings window so .unified toolbar style takes effect,
making the sidebar extend into the titlebar (matching standard macOS
Settings appearance). Add SettingsWindow subclass that responds to the
close: action from Ghostty's Close menu item, which otherwise goes
unhandled in non-terminal windows.1 parent 4b51461 commit e849783
3 files changed
Lines changed: 22 additions & 1 deletion
File tree
- macos
- Ghostty.xcodeproj
- Sources
- App/macOS
- Features/Settings
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1154 | 1154 | | |
1155 | 1155 | | |
1156 | 1156 | | |
1157 | | - | |
| 1157 | + | |
1158 | 1158 | | |
1159 | 1159 | | |
1160 | 1160 | | |
| |||
1164 | 1164 | | |
1165 | 1165 | | |
1166 | 1166 | | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
1167 | 1171 | | |
| 1172 | + | |
1168 | 1173 | | |
1169 | 1174 | | |
1170 | 1175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments