sneatv

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package sneatv keeps the small compatibility surface used by datatug-cli while filetug's UI helpers live in dedicated packages.

Index

Constants

This section is empty.

Variables

View Source
var (
	UnderlineTabsStyle        = sneatv.UnderlineTabsStyle
	DefaultFocusedBorderColor = colors.DefaultFocusedBorderColor
	DefaultBlurBorderColor    = colors.DefaultBlurBorderColor
)
View Source
var (
	NewBreadcrumb         = crumbs.NewBreadcrumb
	NewBreadcrumbs        = crumbs.NewBreadcrumbs
	NewButtonWithShortcut = button.NewWithShortcut
	WithLabel             = sneatv.WithLabel
	FocusDown             = sneatv.FocusDown
	FocusLeft             = sneatv.FocusLeft
	FocusUp               = sneatv.FocusUp
)

Functions

func DefaultBorderWithPadding

func DefaultBorderWithPadding(box *tview.Box)

func DefaultBorderWithoutPadding

func DefaultBorderWithoutPadding(box *tview.Box)

func SetPanelTitle

func SetPanelTitle(box *tview.Box, title string)

Types

type Breadcrumb = crumbs.Breadcrumb
type Breadcrumbs = crumbs.Breadcrumbs

type ButtonWithShortcut

type ButtonWithShortcut = button.WithShortcut

type PrimitiveWithBox

type PrimitiveWithBox = boxed.PrimitiveWithBox

type Tab

type Tab = sneatv.Tab

type TabStyles

type TabStyles = sneatv.TabStyles

type Tabs

type Tabs = sneatv.Tabs

func NewTabs

func NewTabs(app *tview.Application, style TabsStyle, options ...TabsOption) *Tabs

type TabsApp

type TabsApp = sneatv.TabsApp

type TabsOption

type TabsOption = sneatv.TabsOption

type TabsStyle

type TabsStyle = sneatv.TabsStyle

type WithBoxType

type WithBoxType[T tview.Primitive] = boxed.WithBoxType[T]

func WithBordersWithoutPadding

func WithBordersWithoutPadding[T tview.Primitive](p T, box *tview.Box) WithBoxType[T]

func WithBoxWithoutBorder

func WithBoxWithoutBorder[T tview.Primitive](p T, box *tview.Box) WithBoxType[T]

func WithDefaultBorders

func WithDefaultBorders[T tview.Primitive](p T, box *tview.Box) WithBoxType[T]

Jump to

Keyboard shortcuts

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