tui

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package tui renders scan report in an interactive table

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render added in v1.3.6

func Render(
	r report.ScanReport,
	configs config.Config,
) error

Render runs a Bubble Tea UI that renders the ScanReport in a table.

Types

type FocusState added in v1.3.6

type FocusState int
const (
	FocusReposTable FocusState = iota
	FocusReposFilter
	FocusHelpPopup
)

type Model

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

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) IsReposFilterVisible added in v1.3.6

func (m Model) IsReposFilterVisible() bool

func (Model) Update

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

func (Model) View

func (m Model) View() string

Directories

Path Synopsis
Package alerts handles showing alerts over the ui with auto-disappear functionality
Package alerts handles showing alerts over the ui with auto-disappear functionality
Package repostable is a Model that renders git repo states in a table.
Package repostable is a Model that renders git repo states in a table.
Package repostableheader is a Model for repos table.
Package repostableheader is a Model for repos table.

Jump to

Keyboard shortcuts

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