Explore our next generation products
Built for developers in the agent-first era
Everything you need to stay up-to-date and get help
Status Line Command (/statusline)link
Toggle the TUI status line or configure a custom rendering command.
Overviewlink
The
/statusline command allows you to quickly enable or disable the status line at the bottom of your TUI, or configure a custom shell command to render it dynamically, without manually editing your settings file.For details on how to write custom status line scripts and the JSON state payload schema, see the conceptual Status Line Customization Guide.
Usagelink
Run the
/statusline command with the following arguments to control its behavior:Toggle Status Linelink
Type
/statusline with no arguments to toggle the status line on and off:text
/statuslineEnable or Disable Explicitlylink
You can explicitly enable or disable the status line:
- Enable:
/statusline onor/statusline enable - Disable:
/statusline offor/statusline disable
bash
/statusline offConfigure a Custom Commandlink
To route the agent state JSON payload to a custom script and render its output in the status line, pass the command as an argument:
bash
/statusline ~/.gemini/antigravity-cli/statusline.shThis immediately updates your settings and starts running the script to render the status line.
Revert to Defaultlink
To delete your custom command configuration and revert to the built-in default status line:
bash
/statusline delete(Note:
/statusline reset is also supported).Show Helplink
To view the quick command reference:
bash
/statusline helpNext stepslink
- Status Line Guide: Learn how to write custom scripts and handle the JSON payload.
- Window Title Command: Configure dynamic terminal window titles.
- CLI Reference: See all available slash commands.
On this Page