Commit Graph

161 Commits

Author SHA1 Message Date
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
Cheney 55809b401d add runes package 2015-10-04 21:56:34 +08:00
Cheney bfa8c1dfdb add history limitation 2015-10-04 15:23:00 +08:00
Cheney 4dc2ce7141 fixes crash in nil completer #8 2015-10-03 14:15:19 +08:00
Cheney e89699832b public Terminal and Operation in Instance 2015-10-03 14:11:13 +08:00
Cheney d173bd5ae7 update README 2015-10-02 12:46:27 +08:00
Cheney 86ae077418 update README: add features 2015-10-02 11:01:54 +08:00
Chzyer 38e5213cc8 Merge pull request #7 from chzyer/feature/add_vim_mode
add simple vim mode
2015-10-02 10:59:48 +08:00
Cheney 4d6d6c223f fixes bugs 2015-10-02 10:58:43 +08:00
Cheney 879224ddc9 refactor 2015-10-02 10:37:21 +08:00
Cheney 79d1bf27b4 add simple vim mode 2015-10-01 22:44:43 +08:00
Cheney 390f0ebb6b fix typo 2015-09-30 16:13:36 +08:00
Cheney 3ccecf626d add readpassword 2015-09-30 14:16:46 +08:00
Cheney 180b650b65 add windows demo 2015-09-29 23:57:14 +08:00
Chzyer 2dbff40748 Merge pull request #6 from chzyer/feature/support_windows
support windows
2015-09-29 23:36:46 +08:00
Cheney f517af0910 fixes readme & example 2015-09-29 23:35:11 +08:00
Cheney bb60b8a58f finish windows support 2015-09-29 23:28:12 +08:00
Cheney 6eb29567f6 support ANSI escape sequence for windows 2015-09-29 21:01:17 +08:00
Cheney 9edb463230 add windows api, ansi writer 2015-09-29 17:49:58 +08:00
Cheney d4826eb059 add ansi writer 2015-09-29 00:26:49 +08:00
Cheney 03d201ab65 add Ctrl+U 2015-09-28 11:13:39 +08:00
Cheney c814ccae9a fix build in windows 2015-09-28 09:46:33 +08:00
Cheney 7537bea372 add set prompt 2015-09-27 18:54:26 +08:00