Repository navigation
Terminal
English | 한국어
Terminal tabs are drawn by the Ghostty engine.^readme The shell starts in the tab's working folder, and when you cd, the tab's working folder follows. The status bar shows it on the right.
-
⌘Topens a new terminal. It starts in the folder set by New tab folder (새 탭 폴더) in Settings (the workspace root by default). - In the Files panel, right-click a folder → Open terminal here (여기서 터미널 열기).
- When the shell ends (
exit), the tab closes. If it exits abnormally, Notifications record the exit code. - A tab with a running program closes only on the second try. To turn this off, go to Settings → Terminal → Confirm close while running (실행 중이면 닫기 확인).
Terminals keep running when you are not looking at them. Agents read background terminals with cozzle tab read.
Press ⌘F (Ctrl+Shift+F outside macOS) to show the find bar at the top right of the terminal. It searches the scrollback too, not only the screen.^term-find
- Type the text. Matches are highlighted, with a count such as
3/12. - Press Enter or
⌘Gfor the next match, and⇧Enteror⇧⌘Gfor the previous one. If a match is off screen, the terminal scrolls to it. - Press
⌥⌘Cto turn case-sensitive matching on or off. - Press Esc to close the bar. Focus returns to the terminal.
When the bar opens, Cozzle collects the scrollback one screen at a time. With a long scrollback, you may briefly see "찾는 중…" (searching).
On macOS, Cozzle turns common line editing keys into control characters that the shell understands.^shortcuts
| Key | Action | Sends |
|---|---|---|
⌘← |
Start of line | Ctrl+A |
⌘→ |
End of line | Ctrl+E |
⌘⌫ |
Delete everything before the cursor | Ctrl+U |
⌥← |
Back one word | Esc b |
⌥→ |
Forward one word | Esc f |
⌥⌫ |
Delete the previous word | Ctrl+W |
On Windows and Linux, Ctrl+← and Ctrl+→ move by word. Other Ctrl combinations (Ctrl+W, Ctrl+L and so on) go straight to the shell. That is why Cozzle shortcuts outside macOS use Ctrl+Shift combinations.
| Action | macOS | Windows and Linux |
|---|---|---|
| Copy | ⌘C |
Ctrl+Shift+C |
| Paste | ⌘V |
Ctrl+Shift+V |
| Select all | ⌘A |
Ctrl+Shift+A |
| Clear screen | ⌘K |
Ctrl+Shift+K |
| Find | ⌘F |
Ctrl+Shift+F |
| Larger or smaller text |
⌘=·⌘-
|
Ctrl+=·Ctrl+-
|
| Page up or down |
Shift+PageUp·Shift+PageDown
|
Same |
| Top or bottom |
Shift+Home·Shift+End
|
Same |
| One line up or down |
Shift+↑·Shift+↓
|
Same |
⌘0 goes to the 10th tab, so it does not reset the text size. A size changed with the keys applies only to that terminal. Set the saved default size in Settings.
Context menu: Copy (when text is selected), Paste, Select all, Clear screen, Copy working folder path, Show in Finder.
Change these in Settings → Terminal. Font, appearance and behavior apply to open terminals at once. Shell and scrollback apply to new tabs.^settings
| Group | Items |
|---|---|
| Font | Font (installed monospace fonts), size, weight, line height |
| Appearance | Color theme (dark, light, black), cursor shape, cursor blink |
| Behavior | Copy on select, confirm multi-line paste, confirm close while running, bell, where ⌘-clicked links open |
| Shell | Shell and shell arguments, new tab folder, scrollback |
Only Cozzle terminals get:
- The
cozzlecommand and the environment variablesCOZZLE_ADDR,COZZLE_TOKEN,COZZLE_TAB,COZZLE_CLIandCOZZLE_WORKSPACE(the workspace root). See Cozzle CLI. - When the shell is zsh, bash or sh, the
claudeandcodexshell functions. They add the guide and permission options when an agent starts. See AI agents.
When the shell starts, Cozzle types these function definitions and clears the screen with clear. Each definition line starts with a space so that it stays out of the shell history.
cozzle · MIT License · Repository · Open an issue · Report a vulnerability