### What it is for 在日常运行 OpenCode、Claude Code、Codex 等全屏 TUI 工具进行 vibe coding 时,希望能像 Windows Terminal 和 Ghostty 一样,通过快捷键一键切换终端窗口全屏,隐藏任务栏与桌面干扰,获得更沉浸的 TUI 工作区体验。 目前 ELYTerminal 已经对全屏状态做了窗口尺寸保存与桌宠位置适配,macOS 也可以通过窗口左上角原生绿灯按钮进入全屏,但 Windows 下标题栏仅提供最小化、最大化与关闭按钮,且应用内尚未绑定全屏切换快捷键(按 `F11` 目前会作为 `\x1b[23~` 直接发送给终端内程序)。 ### How it should work - 在 `src/menus.rs` 中新增窗口级全屏切换动作(如 `ToggleFullScreen`),并在 `window_actions` 中调用 GPUI 的 `window.toggle_fullscreen()`。 - 快捷键对齐 Ghostty 与 Windows Terminal 的默认约定(同时保留 `Alt+Enter` 发送给终端内程序用于多行换行): - Windows / Linux:`f11` - macOS:`ctrl-cmd-f`(并放入菜单栏) - 在 `src/settings/window/terminal.rs` 的快捷键列表以及中英文 `keys.md` 文档中同步列出该快捷键。 - 现有的窗口尺寸持久化(`src/app.rs` 已跳过 `window.is_fullscreen()`)与桌宠位置计算(顶部空间不足或全屏时移至底边)可直接复用。 ### References - `src/menus.rs` 中的 `Minimize` / `Zoom` 窗口动作绑定:[`src/menus.rs#L103-L112`](https://github.com/ELY-Open-Source/ELYTerminal/blob/fdca49aca4400467ed08bd8d873f82348de797a3/src/menus.rs#L103-L112) - `src/app.rs` 中 `keep_bounds` 对 `window.is_fullscreen()` 的既有判断:[`src/app.rs#L286`](https://github.com/ELY-Open-Source/ELYTerminal/blob/fdca49aca4400467ed08bd8d873f82348de797a3/src/app.rs#L286) - Windows Terminal 与 Ghostty 的全屏切换快捷键约定 ### Checked - [x] I searched the open issues for the same request.
Activity
Raiden-MeixElysia commentedon Nov 14, 2026
主分支已加上,下一版发布:全屏切换,macOS 上是 Ctrl-Cmd-F,Windows 和 Linux 上是 F11,macOS 上也在“显示”菜单里,名为“切换全屏”。Windows 和 Linux 上 F11 不再传给程序;需要的话可以在 设置 › 终端 › 快捷键 里去掉。
T195: docs hold T187 to T194; issues answered