Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Effect ¶
type Effect interface {
// contains filtered or unexported methods
}
Effect is an engine output that must be executed by runtime adapter.
type Event ¶
type Event interface {
// contains filtered or unexported methods
}
Event is an engine-level input event independent from UI frameworks.
type KeyPressedEvent ¶
type KeyPressedEvent struct {
Key string
}
type LoadPreviewEffect ¶
type PersistPreviewEffect ¶
type PersistPreviewEffect struct {
IndexPath string
Cap int
Record preview.IndexRecord
}
type PreviewLoadedEvent ¶
type PreviewPersistedEvent ¶
type PreviewPersistedEvent struct {
Message preview.IndexPersistedMsg
}
type QuitEffect ¶
type QuitEffect struct{}
type Runtime ¶
Runtime runs one TUI engine using a concrete event loop implementation.
func NewBubbleTea ¶
func NewBubbleTea() Runtime
type WindowSizeEvent ¶
Click to show internal directories.
Click to hide internal directories.