rtnstate

package
v0.0.0-...-46b9c22 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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