Mitchell Hashimoto
b1d57cd500
macos: rename TerminalSurfaceView to TerminalSurface
2023-03-05 13:18:56 -08:00
Mitchell Hashimoto
27e42855ca
macos: use GeometryReader for terminal size for macOS 12
...
We were using the NSView resize func before but this isn't called by
SwiftUI on macOS 12. Instead we wrap it in a GeometryReader and detect
the size change in updateNSView so we can call the proper ghostty
callback.
2023-02-22 20:49:33 -08:00
Mitchell Hashimoto
dc598a3dd7
macos: update minimum deployment target to macOS 12
2023-02-22 14:41:12 -08:00
Mitchell Hashimoto
01e8eb89d4
macos: remove unused vstack
2023-02-19 22:14:52 -08:00
Mitchell Hashimoto
e92d90b8d5
macos: new tab implementation
2023-02-19 10:44:57 -08:00
Mitchell Hashimoto
94e678ed57
macos: set correct title for surface title
2023-02-19 10:44:57 -08:00
Mitchell Hashimoto
6b450f7c7d
macos: track surface focus state
2023-02-19 10:44:57 -08:00