filetug

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Style = Styles{
	FocusedBorderColor:   tcell.ColorCornflowerBlue,
	FocusedGraphicsColor: tcell.ColorWhite,

	BlurBorderColor:   tcell.ColorGray,
	BlurGraphicsColor: tcell.ColorGray,

	TableHeaderColor: tcell.ColorWhiteSmoke,
}

Functions

func GetColorByFileName

func GetColorByFileName(name string) tcell.Color

func SetupApp

func SetupApp(app *tview.Application)

Types

type Navigator struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewNavigator

func NewNavigator(app *tview.Application, options ...NavigatorOption) *Navigator
func (nav *Navigator) SetFocus()
type NavigatorOption func(o *navigatorOptions)

func OnMoveFocusUp

func OnMoveFocusUp(f func(source tview.Primitive)) NavigatorOption

type Styles

type Styles struct {
	FocusedBorderColor   tcell.Color
	FocusedGraphicsColor tcell.Color

	BlurBorderColor   tcell.Color
	BlurGraphicsColor tcell.Color

	TableHeaderColor tcell.Color
}

type Tree

type Tree struct {
	*tview.TreeView
	// contains filtered or unexported fields
}

func NewTree

func NewTree() *Tree

func (*Tree) GetBox

func (t *Tree) GetBox() *tview.Box

Jump to

Keyboard shortcuts

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