Readline is a pure go(golang) implementation for GNU-Readline kind library
Go to file
Ben Browning bc5e387904 Fix column padding calculation to prevent wrapping (#83)
The calculation to determine how many spaces to use when padding
columns wasn't taking into account the length of the 'same' portion of
the completions and was only using the length of the completion
itself. This frequently caused the printed completions to wrap, making
the completion list much harder to read.
2016-09-29 09:01:11 +08:00
doc update readme 2016-09-02 22:37:16 +08:00
example Dynamic autocompletion (#60) 2016-07-26 21:39:09 +08:00
runes Fix #43 , remove sub-package for gopkg compatiblity 2016-04-05 09:55:46 +08:00
.travis.yml Bugfix/datarace prompt (#81) 2016-09-15 18:11:25 +08:00
CHANGELOG.md update changelog 2016-07-26 21:51:17 +08:00
LICENSE Initial commit 2015-09-20 23:11:30 +08:00
README.md update readme 2016-09-02 22:37:16 +08:00
ansi_windows.go [windows] fix ansi parse by remove channel 2016-07-24 00:39:44 +08:00
complete.go Fix column padding calculation to prevent wrapping (#83) 2016-09-29 09:01:11 +08:00
complete_helper.go Dynamic autocompletion (#60) 2016-07-26 21:39:09 +08:00
complete_segment.go [completer] add SegmentAutoComplete 2016-04-12 14:04:56 +08:00
complete_segment_test.go [remote] fix test 2016-04-11 01:54:54 +08:00
history.go Fix deadlock on rewrite of opHistory when history limit is reached (#69) 2016-08-12 10:11:21 +08:00
operation.go Fix: a backup plan when can't get size of terminal (#71) 2016-08-31 23:51:28 +08:00
password.go refactory 2016-03-05 15:45:42 +08:00
rawreader_windows.go add comment 2015-10-09 11:13:07 +08:00
readline.go lazy init CancelableStdin() (#78) 2016-09-04 21:02:24 +08:00
readline_test.go Bugfix/datarace prompt (#81) 2016-09-15 18:11:25 +08:00
remote.go [remote] fix remote 2016-04-11 01:46:08 +08:00
runebuf.go Bugfix/datarace prompt (#81) 2016-09-15 18:11:25 +08:00
runes.go support insert tag char (#74) 2016-09-02 20:10:31 +08:00
runes_test.go Fix #43 , remove sub-package for gopkg compatiblity 2016-04-05 09:55:46 +08:00
search.go Fix: a backup plan when can't get size of terminal (#71) 2016-08-31 23:51:28 +08:00
std.go remove unused field 2016-09-04 21:05:21 +08:00
std_windows.go finish windows support 2015-09-29 23:28:12 +08:00
term.go Fix #62: move dependent package "terminal" to "term" (#65) 2016-07-22 00:31:42 +08:00
term_bsd.go Fix #62: move dependent package "terminal" to "term" (#65) 2016-07-22 00:31:42 +08:00
term_linux.go Fix #62: move dependent package "terminal" to "term" (#65) 2016-07-22 00:31:42 +08:00
term_windows.go fix windows compile error 2016-07-22 00:40:16 +08:00
terminal.go let stdin cancelable (#72) 2016-09-01 18:13:06 +08:00
utils.go remove unused files 2016-09-03 11:26:39 +08:00
utils_test.go remove test for SplitByMultiLine 2016-03-31 00:19:18 +08:00
utils_unix.go [terminal] fix when only stderr is tty (1>/dev/null) 2016-06-21 17:53:53 +08:00
utils_windows.go Add ClearScreen operation on Ctrl+L (#56) 2016-05-16 17:59:35 +08:00
vim.go fix #36 vim mode: 'e' moves to the beginning of the next word (#64) 2016-07-26 21:40:22 +08:00
windows_api.go finish windows support 2015-09-29 23:28:12 +08:00

README.md

Build Status Software License Version GoDoc OpenCollective OpenCollective

A powerful readline library in Linux macOS Windows

Guide

Repos using readline

cockroachdb empire youtube/doorman bom-d-van/harp abiosoft/ishell robertkrimen/otto Netflix/hal-9001 docker/go-p9p mehrdadrad/mylg

Feedback

If you have any questions, please submit a github issue and any pull requests is welcomed :)

Backers

Love Readline? Help me keep it alive by donating funds to cover project expenses!
[Become a backer]

Sponsors

Become a sponsor and get your logo here on our Github page. [Become a sponsor]