Help us shape the future of Go! Take the 2026 Go Developer Survey

messages

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestMainMenu

func RequestMainMenu() tea.Cmd

RequestMainMenu returns a command that sends RequestMainMenuMsg

func RequestModeChange added in v0.1.1

func RequestModeChange(mode string) tea.Cmd

RequestModeChange returns a command that sends RequestModeChangeMsg

Types

type RequestMainMenuMsg

type RequestMainMenuMsg struct{}

RequestMainMenuMsg is sent when a model wants to return to the main menu

type RequestModeChangeMsg added in v0.1.1

type RequestModeChangeMsg struct {
	Mode string
}

RequestModeChangeMsg is sent when a model wants to switch to a specific mode

Jump to

Keyboard shortcuts

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