gizzi run: one line per tool call, command output as it arrives, colored results, diffs with line numbers, and one closing line per turn.
Tool lines
Each tool call prints one header when it starts. The path is shown relative to the folder you started in, and it is cut in the middle only when it does not fit the terminal width.claude-cli, codex-cli, ACP CLIs) are shown with the same names, arguments and diffs as Gizzi’s own tools:
Their edits also count toward the closing line’s files and
+/−.
Live command output
Shell output streams under the tool line while the command runs, with a dim│ gutter. The TUI keeps the last 5 lines in view. gizzi run prints up to 12 lines as they arrive, then the last lines when the command ends. A CLI brain that runs its own shell reports output only when the command ends, so its output appears then.
Colors
One highlighter colors tool output and summaries in both places:
Output that already has its own colors is left as it is.
NO_COLOR=1 turns all color off. In 256-color terminals (Apple Terminal before macOS 26, tmux), colors map to the nearest palette entry with the same hue, so a colored tint never turns grey.
Diffs
Edits show a diff with line numbers and syntax color. Added lines have a dark green background and removed lines a dark red one. In 256-color terminals these are palette colors 22 and 88, not the grey of the prompt.The closing line
After a turn that worked:Related
- Headless execution for
gizzi runflags and JSON output - Configuration