prompt

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPrompt

func GetPrompt(env []string) (string, error)

func GetPromptCleaned

func GetPromptCleaned(env []string) (p string, err error)

func GetPromptLength

func GetPromptLength(env []string) (uint, error)

func GetPromptLineLengths

func GetPromptLineLengths(env []string) (l []uint, err error)

func GetPromptSize

func GetPromptSize(env []string, termWidth uint) (width, height uint, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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