Help Center
Tabs & AI CLIs 3 min read · Updated 2026-12-03

Use tabs, the Quick Commands palette, and drag and drop in GhostTerminal

Name and color-tag tabs that survive restarts, launch Claude Code, Codex, or Gemini CLI with Cmd+K, and drop screenshots in as file paths.

GhostTerminal gives you tabs that remember their names and colors, a Cmd + K palette for launching your AI tools, and drag and drop that turns any file into a ready-to-use path. Together they make it easy to run several AI sessions side by side.

GhostTerminal GitHub page listing tabs, quick commands, and drag and drop features
Tabs, quick commands, and drag and drop on the GhostTerminal feature list

1. Work with tabs

Every tab is its own real terminal running your login shell.

Action How
New tab Cmd + T
Close tab Cmd + W
Jump to tab 1 through 9 Cmd + 1 to 9
Rename or color-tag Right-click the tab

Names. Tabs title themselves from your shell automatically. If you'd rather call one "Claude: website" or "Codex: API", right-click it and rename it.

Colors. Right-click a tab to give it a color. The color also tints that tab's terminal theme, so you can tell sessions apart at a glance.

Activity dots. When a tab in the background is busy, a small dot shows up on it. It's a quick way to see which AI session is still working.

They stick around. Your tab set, names, and colors survive restarts. Each tab opens a fresh shell when the app launches, so you'll restart your tools, but your layout is ready.

2. Launch AI tools with Quick Commands

Press Cmd + K to open the Quick Commands palette. Out of the box it lists:

  • claude for Claude Code
  • codex for Codex
  • gemini for Gemini CLI

Click a command to run it in the current tab. Cmd-click to run it in a brand-new tab instead. Press Esc to close the palette.

The list is fully editable. Open Settings and use the quick-command editor to add, change, or remove commands. See Shortcuts, settings, and FAQ.

3. Drag and drop files, folders, and screenshots

Drop an image, file, or folder onto the terminal and its shell-quoted path lands right at your cursor. Spaces and special characters are handled for you, so the path works as-is.

This is the fastest way to hand a screenshot to Claude Code:

  1. Start claude in a tab.
  2. Take a screenshot.
  3. Drag it from your desktop onto the terminal.
  4. Type your question after the path and press Return.

It works the same way for any command that takes a file or folder path.

Troubleshooting

If you see Try this
A Quick Command says command not found Install that tool first, or fix the command in the quick-command editor.
Dropped file didn't insert anything Click inside the terminal so it has focus, then drop again.
Old output is gone after a restart That's expected. Tabs come back, but each starts a fresh shell.
Cmd + 5 does nothing You may have fewer than 5 tabs open.

Frequently Asked Questions

Do my tabs come back after I quit GhostTerminal?

Yes. Your tab set, custom names, and colors come back after a restart. Each tab starts a fresh shell, so earlier output and running commands don't carry over.

Can I add my own commands to the Cmd+K palette?

Yes. The palette starts with claude, codex, and gemini, and you can edit the list in the quick-command editor inside Settings.

How do I give Claude Code a screenshot?

Start Claude Code in a tab, then drag the screenshot onto the terminal. GhostTerminal types the file's quoted path at your cursor, ready to send.

What does the dot on a background tab mean?

It's an activity dot. It shows that a tab you aren't looking at is busy printing output.

Helpful?
GhostTerminal
Ready to try it or check your settings?

More GhostTerminal guides