history

package
v1.63.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Filename = ".fox_history"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type History

type History struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New() *History

func (*History) AddLine

func (h *History) AddLine(s string)

func (*History) Close

func (h *History) Close()

func (*History) NextLine

func (h *History) NextLine() string

func (*History) PrevLine

func (h *History) PrevLine() string

func (*History) Reset

func (h *History) Reset()

Jump to

Keyboard shortcuts

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