editfile

package
v1.9.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	msg *types.Message,
	renderer *glamour.TermRenderer,
	sessionState *service.SessionState,
) layout.Model

Types

type Component

type Component struct {
	// contains filtered or unexported fields
}

Component is a specialized component for rendering edit_file tool calls.

func (*Component) Init

func (c *Component) Init() tea.Cmd

func (*Component) SetSize

func (c *Component) SetSize(width, height int) tea.Cmd

func (*Component) Update

func (c *Component) Update(msg tea.Msg) (layout.Model, tea.Cmd)

func (*Component) View

func (c *Component) View() string

type ToggleDiffViewMsg

type ToggleDiffViewMsg struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL