macos: quick terminal supports fullscreen

Fixes #2330

The quick terminal now supports fullscreen. The fullscreen mode is
always non-native due to the quick terminal being a titleless, floating
window.

When the quick terminal loses focus and animates out, it will always
exit fullscreen mode.
This commit is contained in:
Mitchell Hashimoto
2024-09-30 21:04:07 -07:00
parent 1cc79c5e76
commit 46cbe59076
4 changed files with 106 additions and 67 deletions

View File

@@ -376,9 +376,12 @@ pub const Action = union(enum) {
///
/// - It is a singleton; only one instance can exist at a time.
/// - It does not support tabs.
/// - It does not support fullscreen.
/// - It will not be restored when the application is restarted
/// (for systems that support window restoration).
/// - It supports fullscreen, but fullscreen will always be a non-native
/// fullscreen (macos-non-native-fullscreen = true). This only applies
/// to the quick terminal window. This is a requirement due to how
/// the quick terminal is rendered.
///
/// See the various configurations for the quick terminal in the
/// configuration file to customize its behavior.