Merge commit '13412ca164f715e89e0eb156599ce5f6e978205c' as 'contrib/linenoise'

This commit is contained in:
Harshavardhana
2014-10-30 22:22:47 -07:00
82 changed files with 1495 additions and 0 deletions
+11
View File
@@ -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