loader

package
v0.0.0-...-f07ee0b Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ansi16

func Ansi16() color.Palette

func Ansi256

func Ansi256() color.Palette

func AnsiVga16

func AnsiVga16() color.Palette

func AnsiWinConsole16

func AnsiWinConsole16() color.Palette

func AnsiWinPowershell16

func AnsiWinPowershell16() color.Palette

func BlackAndWhite

func BlackAndWhite() color.Palette

func IsleOfTheDead

func IsleOfTheDead() color.Palette

func KlarikFilmic

func KlarikFilmic() color.Palette

func Mudstone

func Mudstone() color.Palette

func NewItemStyles

func NewItemStyles() (s list.DefaultItemStyles)

NewItemStyles returns style definitions for a default item. DefaultItemView for when these come into play.

Types

type Model

type Model struct {
	FileBrowser browser.Model

	IsSelected    bool // true if we've selected something (ie. render w/ loader)
	ShouldUnfocus bool
	// contains filtered or unexported fields
}

func New

func New(w int) Model

func (Model) GetCurrent

func (m Model) GetCurrent() palette.Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳