go-linoise is a simple library for line editing, as replacement to GNU Readline. It is inspired in linenoise.
Features:
- Licensed under BSD, a liberal license
- Unicode support
- History
- Multi-line editing
- Facilitate reading related to questions where the answers by default are set to bold
In the first, there is to install go-term. And then:
$ goinstall github.com/kless/go-linoise/linoise
There are several values by default:
- In the buffer: BufferCap, BufferLen.
- In the history file: HistoryCap, HistoryPerm.
- In the main code: PS1, PS2.
Read files linoise_test.go and question_test.go.
Copyright 2010 The "go-linoise" Authors
See file AUTHORS and CONTRIBUTORS (if any).
Licensed under Simplified BSD License.
See file LICENSE.
To contact, send e-mail through github.
To reporting bugs, please login and create a new issue here.
For credits, see file AUTHORS and CONTRIBUTORS (if any).
I would like to thank Salvatore Sanfilippo for building linenoise, and to do it under a liberal license.
For changes between releases, see file NEWS; and for changes between the commits, see the commit history.
Generated by gowizard