Versions in this module Expand all Collapse all v0 v0.0.7 Dec 3, 2026 Changes in this version + const ProgramStateBlocked + const ProgramStateClear + const ProgramStateDone + const ProgramStateError + const ProgramStateIdle + const ProgramStateWorking + const ProgramStatusKindAuth + const ProgramStatusKindPermission + const ProgramStatusKindQuestion + const ProgressBarError + const ProgressBarHide + const ProgressBarIndeterminate + const ProgressBarNormal + const ProgressBarPaused + func ReleaseRawMouseEvent(e *RawMouseEvent) + type Backend interface + BeginFrame func() Surface + Bell func() + Caps func() Caps + Clear func() + Clipboard func() Clipboard + DumpState func() + EndFrame func() error + Events func() <-chan RawEvent + InsertAbove func(buf *Buffer) + Resize func(geom.Size) + Restore func() + SetCursorColor func(color.Color) + SetCursorPos func(x, y int) + SetCursorShape func(CursorShape) + SetInline func(inline bool) + SetProgramResume func(resume *terminal.ProgramResume) + SetProgramStatus func(status *terminal.ProgramStatus) + SetProgressBar func(state terminal.ProgressBarState, percentage int) + SetTitle func(string) + ShowCursor func(bool) + Size func() geom.Size + Start func() error + Title func() string + Writer func() io.Writer + type Buffer struct + Cells []Cell + Height int + Width int + func NewBuffer(width, height int) *Buffer + func (b *Buffer) Bounds() geom.Rect + func (b *Buffer) CellAt(x, y int) Cell + func (b *Buffer) Reset() + func (b *Buffer) Resize(width, height int) + func (b *Buffer) Set(x, y int, c Cell) + func (b *Buffer) Size() geom.Size + type Caps struct + Bell bool + BracketedPaste bool + Clipboard []ClipboardKind + ColorScheme style.ColorScheme + KittyGraphics bool + Mouse MouseSupport + OSC8Hyperlinks bool + ProgramResume bool + ProgramStatus bool + ProgressBar bool + Sixel bool + Title bool + TrueColor bool + type Cell struct + Bg color.Color + Content string + Fg color.Color + Style CellStyle + Width int + type CellStyle uint16 + const CellBlink + const CellBold + const CellConceal + const CellFaint + const CellItalic + const CellReverse + const CellStrikethrough + const CellUnderline + type Clipboard interface + Request func(mime string) + Set func(mime string, data []byte) + type ClipboardKind string + const ClipboardKitty + const ClipboardOSC52 + const ClipboardSystem + type CursorShape uint8 + const CursorBar + const CursorBlock + const CursorUnderline + type FrameInserter interface + InsertAboveForFrame func(buf *Buffer) + type MouseModeSetter interface + SetMouseMode func(MouseSupport) + type MouseSupport uint8 + const MouseSupportClick + const MouseSupportDrag + const MouseSupportNone + const MouseSupportTrack + type ProcessStreams interface + ExecIO func() (io.Reader, io.Writer, io.Writer) + type ProgramResume = terminal.ProgramResume + type ProgramState = terminal.ProgramState + type ProgramStatus = terminal.ProgramStatus + type ProgramStatusKind = terminal.ProgramStatusKind + type ProgressBarState = terminal.ProgressBarState + type RawBracketedPaste struct + Text string + type RawClipboardEvent struct + Content string + Selection rune + type RawColorSchemeEvent struct + Scheme style.ColorScheme + type RawEvent interface + type RawFocusInEvent struct + type RawFocusOutEvent struct + type RawKeyEvent struct + Up bool + type RawMouseEvent struct + Button event.MouseButton + DeltaX int + DeltaY int + Mod event.Modifiers + Move bool + Up bool + X int + Y int + func AcquireRawMouseEvent() *RawMouseEvent + type RawOscEvent struct + Code int + Data string + type RawProgramStatusSupportEvent struct + type RawResizeEvent struct + Height int + Width int + type RawUnknownEvent struct + Payload any + type Surface interface + CellAt func(x, y int) Cell + Set func(x, y int, c Cell) + type Suspender interface + Resume func() error + Suspend func() error v0.0.6 Nov 6, 2026 v0.0.5 Sep 3, 2026 v0.0.4 Jul 19, 2026 v0.0.3 Jul 9, 2026 v0.0.2 Jul 1, 2026 v0.0.1 Jun 1, 2026