You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
430 B
11 lines
430 B
// Package linenoise wraps the linenoise library (https://github.com/antirez/linenoise).
|
|
//
|
|
// The package is imported with "go." prefix
|
|
// import "github.com/GeertJohan/go.linenoise"
|
|
//
|
|
// Simple readline usage:
|
|
// linenoise.Line("prompt> ")
|
|
//
|
|
// Adding lines to history, you could simply do this for every line you read.
|
|
// linenoise.AddHistory("This will be displayed in prompt when arrow-up is pressed")
|
|
package linenoise
|
|
|