input

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableRawMode

func DisableRawMode()

func EnableRawMode

func EnableRawMode()

func Predict added in v1.4.0

func Predict(word string) string

Searches the list of built-in and user defined variables and function for a matching completion for the word and.

Returns the completed string.

func Prompt

func Prompt(writer io.Writer, reader *bufio.Reader) (string, error)

Reads input from reader awaiting new line character. Then returns resulting string.

This function implements input control and history.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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