rtnstate

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const MaxDiffKeyLen = 40
View Source
const MaxDiffValLen = 50

Variables

View Source
var IgnoreVars = map[string]bool{
	"PROMPT":               true,
	"PROMPT_VERSION":       true,
	"MSHELL":               true,
	"MSHELL_VERSION":       true,
	"WAVESHELL":            true,
	"WAVESHELL_VERSION":    true,
	"WAVETERM":             true,
	"WAVETERM_VERSION":     true,
	"WAVETERM_DEV":         true,
	"TERM_PROGRAM":         true,
	"TERM_PROGRAM_VERSION": true,
	"TERM_SESSION_ID":      true,
}

Functions

func DisplayStateUpdateDiff

func DisplayStateUpdateDiff(buf *bytes.Buffer, oldState packet.ShellState, newState packet.ShellState)

func GetRtnStateDiff

func GetRtnStateDiff(ctx context.Context, screenId string, lineId string) ([]byte, error)

func ParseAliases

func ParseAliases(aliases string) (map[string]string, error)

func ParseFuncs

func ParseFuncs(funcs string) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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