context

package
v1.99.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	sync.RWMutex

	Root tcell.Screen
	// contains filtered or unexported fields
}

func New

func New(root tcell.Screen) *Context

func (*Context) Background

func (ctx *Context) Background(fn func())

func (*Context) ChangeTheme

func (ctx *Context) ChangeTheme(t string)

func (*Context) ForceRender

func (ctx *Context) ForceRender()

func (*Context) IsFollow

func (ctx *Context) IsFollow() bool

func (*Context) IsNumbers

func (ctx *Context) IsNumbers() bool

func (*Context) IsWrap

func (ctx *Context) IsWrap() bool

func (*Context) Last

func (ctx *Context) Last() mode.Mode

func (*Context) Mode

func (ctx *Context) Mode() mode.Mode

func (*Context) Model

func (ctx *Context) Model() string

func (*Context) Precede

func (ctx *Context) Precede()

func (*Context) Save

func (ctx *Context) Save()

func (*Context) SwitchMode

func (ctx *Context) SwitchMode(m mode.Mode) bool

func (*Context) Theme

func (ctx *Context) Theme() string

func (*Context) ToggleFollow

func (ctx *Context) ToggleFollow()

func (*Context) ToggleNumbers

func (ctx *Context) ToggleNumbers()

func (*Context) ToggleWrap

func (ctx *Context) ToggleWrap()

Jump to

Keyboard shortcuts

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