Agents Window: Cmd+J / Ctrl+` cannot hide the terminal — they spawn a second one. There is no working toggle

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In the Cursor 3 Agents Window (Glass), there is no working keyboard shortcutto hide/show the terminal:

• Cmd+J does not toggle terminal visibility
• Ctrl+` does not toggle terminal visibility
• Both open/focus another terminal instead of hiding the existing one

This is not muscle memory — I am in Glass, not the classic IDE. The old VSCode commands (workbench.action.togglePanel,workbench.action.terminal.toggleTerminal) still fire in Glass, where theymean “create/focus another terminal,” not “hide this panel.”

The official keyboard shortcut docs don’t list any show/hide-terminalshortcut for Glass (only Cmd+K prompt bar, Cmd+Return run command, Escapeaccept). Help → Keyboard Shortcuts in this window is incomplete and notremappable like the IDE.

I followed the documented workaround — editing ~/Library/ApplicationSupport/Cursor/User/keybindings.json to unbind the IDE commands and bind theglass.* ones (no when clause):

─ jsonc
{ “key”: “cmd+j”, “command”: “-workbench.action.togglePanel” }
{ “key”: “cmd+j”, “command”: “-workbench.action.terminal.toggleTerminal” }
{ “key”: “cmd+j”, “command”: “-workbench.action.terminal.new” }
{ “key”: “cmd+j”, “command”: “glass.toggleTerminal” }

Saved, fully quit Cursor (Cmd+Q), reopened the Agents Window. Cmd+J behavesidentically — still spawns another terminal. I also tried glass.togglePanel;same result.

glass.toggleTerminal itself appears to show/create a terminal rather thantoggle visibility, so even if the binding landed, that command is wrong forhide/show.

This matches known Agents Window keybinding issues (“Agents Window:Customize keybindings”, “User keybinding override does not work instandalone Agents window”, “Agents window: Ctrl+/ Select Model cannot bedisabled”) where staff replies were “use glass.* command IDs” — which I did.

I also cannot debug from inside the Agents Window: the Keyboard Shortcutseditor is effectively read-only / missing command IDs, and “Developer:Toggle Keyboard Shortcuts Troubleshooting” / Record Keys are unavailablethere.

Steps to Reproduce

  1. Open the Cursor 3 Agents Window (Glass) — not the classic editor.
  2. Have a terminal already visible.
  3. Press Cmd+J, then Ctrl+`.
  4. Observe: a new terminal appears / gets focused; the existing one is neverhidden.
  5. Add the glass.toggleTerminal bindings and --prefixed unbinds above to~/Library/Application Support/Cursor/User/keybindings.json, with nowhen clause.
  6. Fully quit Cursor (Cmd+Q) and reopen the Agents Window.
  7. Press Cmd+J again → same behavior. Visibility is still not toggled.

Operating System

MacOS

Version Information

Layout: glass / Agents Window
OS: macOS
Cursor version: 3.17.8 (Universal)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed write-up. You read everything correctly. This isn’t related to your setup, and keybindings.json isn’t involved here.

In the Agents Window (Glass), the terminal shortcut Cmd+J / Ctrl+\`` was intentionally changed a few versions ago. The first press shows and focuses the terminal, and the next press creates a new one instead of hiding the panel. That’s why the rebind didn’t work. By design, glass.toggleTerminal` either shows or creates a terminal, and there’s nothing you can bind for hide yet.

Right now, the keyboard way to hide the terminal is Cmd+Option+B (Hide Apps Panel). It toggles the whole right panel where the terminal lives.

We’re tracking the request to bring back the normal toggle-to-hide behavior for the terminal shortcut, and I’ve added your report to it. There’s no timeline yet, but if there’s an update, I’ll reply here.

I hope it gets fixed because it is extremely annoying. I use the browser window to preview the app and it would be so much better to be able to show/hide the terminal easy, and have the preview extend to the full height of the window instead of having it be only a quarter because the other quarter is taken by the terminal… :confused: looking forward to a fix. THANK YOU !

Yeah, I get it. When the browser preview is stuck at a quarter height because of the terminal, it’s really annoying. The request for a proper toggle to hide the terminal is already being tracked, and I also added your use case about having the preview at full height.

For now, the workaround is still the same: Cmd+Option+B Hide Apps Panel hides the whole right panel with the terminal, so the preview expands to the full window. Not perfect, but it helps.

No timeline yet, but if there’s an update, I’ll reply here.

Hey, quick update on this.

The Terminal toggle is coming back. In the next release 3.21, pressing Cmd+J or Ctrl+` when the Terminal is active will hide the panel instead of opening another Terminal. Press it again to bring it back. Creating a new Terminal is moving to Ctrl+Shift+` and it’s also in File > New Terminal.

One note about your browser preview setup. This shortcut hides the whole Apps panel, so the preview goes away too. If you want the preview to stay full height and only hide the Terminal, close the Terminal tab instead, then Cmd+J will open a fresh one when you need it.

This isn’t in the current stable build yet. I’ll reply here when the update is out. You can check via Cursor > About, version 3.21 or newer.

this is still not fixed :confused: