Commit Graph

233 Commits

Author SHA1 Message Date
Cheney 8853e17195 support dial to remote readline 2016-01-31 12:18:46 +08:00
Chzyer cbab1f1566 Merge pull request #24 from DanCripe/master
An extended prefix completion implementation
2016-01-08 00:00:53 +08:00
Dan Cripe 7f88ba2640 Add Tree() method back in.
Needed for one of the examples and for backward compatability.
2016-01-07 09:54:10 -06:00
Dan Cripe d0e806295b Use refactored code instead of original. 2016-01-07 09:42:12 -06:00
Dan Cripe e0fe5c6252 Reimplement in a compatible way.
Signed-off-by: Dan Cripe <dan@quattronetworks.com>
2016-01-06 18:46:43 -06:00
Dan Cripe f89cf57370 Change implementation drastically.
Signed-off-by: Dan Cripe <dan@quattronetworks.com>
2016-01-06 17:39:08 -06:00
Dan Cripe cd2d269a73 Hack to allow dynamic content in autocompletion.
Signed-off-by: Dan Cripe <dan@quattronetworks.com>
2016-01-06 15:41:13 -06:00
Chzyer 94a70819f4 Merge pull request #23 from lunixbochs/master
add stdin remapping support
2015-12-24 15:39:15 +08:00
Ryan Hileman 05d3fbcc2a add stdin remapping support 2015-12-23 21:54:46 -08:00
Cheney 76dfcd2e50 CI: fix travis 2015-11-21 11:38:21 +08:00
Cheney c36905cc67 readme: update about examples. 2015-11-21 11:36:20 +08:00
Cheney 1a0e228994 example: rename demos 2015-11-21 11:36:09 +08:00
Chzyer 6ae0191254 Merge pull request #18 from sahib/master
Add pass_strength/pass_strength.go example
2015-11-20 23:34:49 +08:00
Chris P f1bc3fbc0e Merge branch 'master' of github.com:sahib/readline 2015-11-20 16:28:42 +01:00
Chris P ccd7589339 example: add pass_strength/pass_strength.go (WTFPL licensed) 2015-11-20 16:27:55 +01:00
Cheney 09b448ca0b changelog: fix syntax 2015-11-20 23:25:18 +08:00
Cheney fb8cb23199 add changelog 2015-11-20 23:22:54 +08:00
Cheney c1adc97620 example: improve usage content 2015-11-20 21:32:53 +08:00
Cheney 839c0013a8 example: update 2015-11-20 21:00:05 +08:00
Cheney 71e9536f4b add password support 2015-11-20 20:56:42 +08:00
Chzyer ee4d466b62 Merge pull request #17 from michalpristas/master
int63 changed to int32
2015-11-20 17:14:10 +08:00
Pristáš Michal 4bc3b1f4f4 int63 changed to int32 in order to make readline runnable on arm 32bit devices [terminal.go] 2015-11-20 10:09:55 +01:00
Cheney 4dffd60960 example: improve InterruptPrompt 2015-11-20 11:33:10 +08:00
Cheney 5660cc8cb6 example: change (Ctrl+C), (Ctrl+D) to shell-like 2015-11-20 11:26:58 +08:00
Cheney db2e5eae91 fix bugs: reset buffer after trigger io.EOF/ErrInterrupt 2015-11-20 11:25:30 +08:00
Cheney 7a18498f5b treat `Ctrl+D` + EmptyLine = EOF, `Ctrl+C` = ErrInterrupt 2015-11-19 11:55:07 +08:00
Cheney 9364259fb1 #15: fix prefix completer 2015-11-14 10:21:55 +08:00
Cheney 5ee706df9b only enter raw mode when calling Readline() 2015-11-09 11:20:26 +08:00
Cheney e870ba12fd README: update 2015-11-08 14:23:29 +08:00
Cheney d59da2cf77 refactor excapeExKey 2015-10-28 09:02:52 +08:00
Chzyer 6ba1b6d3f5 Merge pull request #13 from jamesnetherton/fixup-autocomp-example
Correct minor issues with auto complete example
2015-10-28 08:55:28 +08:00
Chzyer ffee92f4b7 Merge pull request #12 from michalpristas/add-delete-home-end-support
Add delete home end support
2015-10-28 08:55:01 +08:00
James Netherton 46f410607f Correct minor issues with auto complete example 2015-10-27 20:26:58 +00:00
Pristáš Michal bcc2f0762c reader nil check in escapeExKey 2015-10-26 09:45:11 +01:00
Pristáš Michal 30303e5637 reader nil check in escapeExKey 2015-10-26 09:43:34 +01:00
Pristáš Michal 391c225c0b delete redundancy char check moved to escapeExKey method 2015-10-26 09:41:48 +01:00
Pristáš Michal de44b28597 cleanup 2015-10-23 13:19:36 +02:00
Pristáš Michal 1c411ac48c changes completed 2015-10-23 13:16:45 +02:00
Cheney 77fbb66748 update README 2015-10-16 09:02:55 +08:00
Cheney 733245997a add doc for import package 2015-10-16 09:01:31 +08:00
Cheney c73eba9879 readme: add gitter 2015-10-14 11:20:37 +08:00
Cheney 50197e309d move demo gif to branch/assets 2015-10-09 11:26:59 +08:00
Cheney 86a7212964 add comment 2015-10-09 11:13:07 +08:00
Cheney aec0cc08d9 fix history rewrite fd close 2015-10-08 18:14:59 +08:00
Cheney 9f55547f9b fix history rewrite replace origin file 2015-10-08 18:11:21 +08:00
Cheney d0699b888b Merge branch 'master' of github.com:chzyer/readline 2015-10-08 17:54:19 +08:00
Chzyer 3647bb9124 Merge pull request #10 from buaazp/fix-history-limit
fixed default history limit count error
2015-10-08 17:48:19 +08:00
招牌疯子 492f37d9d4 fixed default history limit count error
The default history limit count will be 0 if cfg not set.
Which will make history lose efficacy.
2015-10-08 17:43:22 +08:00
Cheney 0f7efea2bc update ignore 2015-10-04 22:31:32 +08:00
Cheney 7638a04c39 fix compile error 2015-10-04 21:58:34 +08:00