mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
0a65e23e3a
git-subtree-dir: third_party/src/github.com/GeertJohan/go.linenoise git-subtree-split: 5d5d5277d975f40b12167b478c0d79df00bda5a8
12 lines
430 B
Go
12 lines
430 B
Go
// 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
|