tui

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package tui is the Bubble Tea front-end for actl. It is one consumer of the debugger core (internal/debugger) and holds no debug logic of its own: it renders pause state + logs and translates keypresses into core commands (Step/Continue/Abort). Per CLAUDE.md §5 the dependency arrow points one way — tui imports debugger, never the reverse.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Model is the actl TUI state.

func New

func New(sess *debugger.Session, cancel context.CancelFunc) Model

New builds the model. cancel stops the underlying run when the user quits.

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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