mirror of
https://github.com/pgsty/minio.git
synced 2026-11-02 05:42:06 +03:00
Merge commit '13412ca164f715e89e0eb156599ce5f6e978205c' as 'contrib/linenoise'
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user