Skip to content

fiber/go-linoise

Repository files navigation

go-linoise

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

Installation

In the first, there is to install go-term. And then:

$ goinstall github.com/kless/go-linoise/linoise

Configuration

There are several values by default:

  • In the buffer: BufferCap, BufferLen.
  • In the history file: HistoryCap, HistoryPerm.
  • In the main code: PS1, PS2.

Operating instructions

Read files linoise_test.go and question_test.go.

Copyright and licensing

Copyright 2010 The "go-linoise" Authors
See file AUTHORS and CONTRIBUTORS (if any).

Licensed under Simplified BSD License.
See file LICENSE.

Contact

To contact, send e-mail through github.

Known bugs

To reporting bugs, please login and create a new issue here.

Credits and acknowledgments

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.

ChangeLog

For changes between releases, see file NEWS; and for changes between the commits, see the commit history.


Generated by gowizard

About

Library for line editing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages