Documentation
¶
Overview ¶
Package tui provides the Bubble Tea model and UI components for the JSON log viewer. It handles rendering, input processing, and coordinates between the index, parser, and navigation packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyMap ¶
type KeyMap struct {
// Navigation
Up key.Binding
Down key.Binding
PageUp key.Binding
PageDown key.Binding
Home key.Binding
End key.Binding
// Vim motions
VimUp key.Binding
VimDown key.Binding
VimTop key.Binding
VimBottom key.Binding
// Actions
Quit key.Binding
Help key.Binding
// Pane navigation
Left key.Binding
Right key.Binding
// Resize
ResizeMode key.Binding
ResizeLeft key.Binding
ResizeRight key.Binding
}
KeyMap defines the key bindings for the application.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the Bubble Tea model for the log viewer application.
type Styles ¶
type Styles struct {
// Table header style.
Header lipgloss.Style
// Selected row style.
Selected lipgloss.Style
// Normal row style.
Normal lipgloss.Style
// Detail pane style.
Detail lipgloss.Style
// Title style.
Title lipgloss.Style
// Help style.
Help lipgloss.Style
// Separator style.
Separator lipgloss.Style
// Table container style (for height constraints).
TableContainer lipgloss.Style
// Detail container style (for height constraints).
DetailContainer lipgloss.Style
}
Styles holds the lipgloss styles for the UI.
Click to show internal directories.
Click to hide internal directories.