ui

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: MIT Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *context.MainContext) tea.Model

Types

type Model

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

func NewUI added in v0.9.7

func NewUI(c *context.MainContext) *Model

func (*Model) HandleIntent added in v0.10.3

func (m *Model) HandleIntent(intent intents.Intent) (tea.Cmd, bool)

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Update

func (m *Model) Update(msg tea.Msg) tea.Cmd

func (*Model) UpdatePreviewPosition added in v0.9.6

func (m *Model) UpdatePreviewPosition()

func (*Model) View

func (m *Model) View() string

type SplitDragMsg added in v0.9.11

type SplitDragMsg struct {
	Split *split
	X     int
	Y     int
}

func (SplitDragMsg) SetDragStart added in v0.9.11

func (m SplitDragMsg) SetDragStart(x, y int) tea.Msg

Directories

Path Synopsis
Code generated by cmd/genactions; DO NOT EDIT.
Code generated by cmd/genactions; DO NOT EDIT.
Code generated by cmd/genactions; DO NOT EDIT.
Code generated by cmd/genactions; DO NOT EDIT.

Jump to

Keyboard shortcuts

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