StatusLine
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| ClaudeCodeBaseModel clawd_code_sdk.models.base Base model for all Claude Code Pydantic models. |
⋔ Inheritance diagram¶
graph TD
1119650560["settings.StatusLine"]
2604142835["base.ClaudeCodeBaseModel"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
2604142835 --> 1119650560
3879467795 --> 2604142835
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: ClaudeCodeBaseModel
Custom status line display configuration. See https://code.claude.com/docs/en/statusline.
Source code in src/clawd_code_sdk/models/settings.py
command
instance-attribute
¶
A shell command or path to a script that displays session information (context usage, costs, git status, etc.) by reading JSON data from stdin and writing output to stdout. See https://code.claude.com/docs/en/statusline
hide_vim_mode_indicator
class-attribute
instance-attribute
¶
Set to true when your status line script renders the vim mode indicator itself, to suppress the built-in vim mode display. See https://code.claude.com/docs/en/statusline#manually-configure-a-status-line
padding
class-attribute
instance-attribute
¶
Optional number of extra horizontal spacing characters added to the status line content; defaults to 0.
refresh_interval
class-attribute
instance-attribute
¶
Re-run the status line command every N seconds in addition to event-driven updates. Leave unset to run only on events. Useful for time-based data like clocks, or when background subagents change git state while the main session is idle. See https://code.claude.com/docs/en/statusline
type
class-attribute
instance-attribute
¶
The type of status line handler; must be set to "command" to run a custom shell script that receives JSON session data via stdin.