Documentation
¶
Overview ¶
Package terminal provides terminal mode support for cdev. Terminal mode spawns Claude in the current terminal with PTY, allowing both local and remote (mobile) interaction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner manages terminal mode for Claude sessions. It connects Claude's PTY to the current terminal while also streaming output to WebSocket clients.
func (*Runner) Run ¶
Run starts Claude in terminal mode and blocks until completion. This connects Claude's PTY to the current terminal.
func (*Runner) SetOutputWriter ¶
SetOutputWriter sets an additional writer for output (e.g., WebSocket). Output will be written to both stdout and this writer.
Click to show internal directories.
Click to hide internal directories.