Registry / cli / gohxs-readline

gohxs-readline

JSON →
library0.0.0-20171011095936-a780388e6e7cgogounverified

A pure Go implementation of GNU Readline-like library for terminal input handling.

go get github.com/gohxs/readline
INSTALL
IMPORT
SIG · GOHXS-READLINE
G
gohxs-readline
cligov0.0.0-20171011095936-a780388e6e7c
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

readline
github.com/gohxs/readline

Creates a readline prompt, reads a line from the user, and prints it.

package main import ( "fmt" "github.com/gohxs/readline" ) func main() { rl, err := readline.New("> ") if err != nil { panic(err) } defer rl.Close() line, err := rl.Readline() if err != nil { panic(err) } fmt.Println("You entered:", line) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20171011095936-a780388e6e7clatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
gohxs-readline — go get gohxs-readline · libregistry