tabber

package
v0.3.21 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tab

type Tab struct {
	Name   string
	Active bool
}

...

type Tabber

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

...

func New

func New(tabs ...string) *Tabber

...

func (*Tabber) MoveLeft

func (t *Tabber) MoveLeft()

...

Based on https://stackoverflow.com/a/59299881.

func (*Tabber) MoveRight

func (t *Tabber) MoveRight()

func (*Tabber) SetWindowSize

func (t *Tabber) SetWindowSize(msg tea.WindowSizeMsg)

...

func (*Tabber) Tabs

func (t *Tabber) Tabs() []Tab

Jump to

Keyboard shortcuts

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