Commit Graph

114 Commits

Author SHA1 Message Date
c-bata
3240009ad5 Refactor and fix bug 2017-08-12 18:55:36 +09:00
c-bata
4c3cbd3c3c Add flush 2017-08-11 18:24:44 +09:00
c-bata
aa686033e9 Add test and fix logger 2017-08-11 01:45:23 +09:00
c-bata
8b4da0058e Add some keybind 2017-08-10 01:26:32 +09:00
c-bata
0194c52454 Add prompt.Input and prompt.Choose 2017-08-10 01:06:42 +09:00
c-bata
2921d1d259 Enter when exit 2017-08-09 22:47:08 +09:00
c-bata
e871f177ec Refactor completions 2017-08-09 21:33:47 +09:00
c-bata
b578417898 Fix reset raw mode bug 2017-08-09 21:28:34 +09:00
c-bata
bb2e4b07af Fix teardown 2017-08-09 20:52:37 +09:00
c-bata
96ca27863f Refactor set blocking 2017-08-09 16:20:31 +09:00
c-bata
5b950d7f2d Update README 2017-08-09 15:35:11 +09:00
c-bata
6a6ddef913 Fix EAGAIN error 2017-08-09 14:04:10 +09:00
c-bata
51b6bb1f9e Update README 2017-08-09 12:50:16 +09:00
c-bata
01c461e472 Add some refactor changes 2017-08-09 12:50:07 +09:00
c-bata
b53127c970 Rename package 2017-08-08 00:19:51 +09:00
c-bata
17282c599f Set nonblocking mode 2017-08-07 20:07:02 +09:00
c-bata
ad17465489 Remove output options 2017-08-06 15:31:44 +09:00
c-bata
44eda9ed4e Replace panic to log.Print 2017-08-06 15:21:14 +09:00
c-bata
e7a5a474ef Fix history clear 2017-08-04 20:33:28 +09:00
c-bata
bdc32514f8 Rename Completion to Suggest 2017-08-04 20:30:50 +09:00
c-bata
654143f525 Fix history and Refactor completion 2017-08-04 20:28:32 +09:00
c-bata
3002a7e8af Implement History 2017-08-04 19:16:39 +09:00
c-bata
1189f772e0 Fix vt100_debug.go 2017-08-04 16:41:32 +09:00
c-bata
fbc5f10547 Cancel context with ControlC 2017-08-04 16:23:18 +09:00
c-bata
2eab51d9f7 Update prompt 2017-08-04 16:23:18 +09:00
c-bata
bd3464ce4d Set up a logger 2017-08-04 16:23:18 +09:00
c-bata
8aeed013a4 Add refactor change 2017-08-04 16:23:18 +09:00
c-bata
3b91e741d7 Update README 2017-07-30 16:47:49 +09:00
c-bata
5df371652b Refactor handling input 2017-07-24 00:56:41 +09:00
c-bata
aff10bde1f Use context and add some refactoring 2017-07-24 00:35:50 +09:00
c-bata
4f5eedaa32 Fix max width handling 2017-07-19 16:06:02 +09:00
c-bata
8bcf5c31fc Make filter to CompletionFilter 2017-07-19 02:12:22 +09:00
c-bata
6feb776763 Set bold option 2017-07-19 01:16:57 +09:00
c-bata
256b0757ae Remove break line when display result 2017-07-19 00:44:35 +09:00
c-bata
58b2a9c539 Merge pull request #1 from c-bata/suggest-with-description
Add Suggestion struct with Description
2017-07-19 00:40:02 +09:00
c-bata
11deac9d5d Rename Suggestion with Completion 2017-07-19 00:38:08 +09:00
c-bata
2e1d7d8eb0 Complete with description 2017-07-19 00:36:16 +09:00
c-bata
c7333f7c05 Add Suggestion struct with Description 2017-07-18 23:28:54 +09:00
c-bata
3cad620d16 Update renderer 2017-07-18 22:24:12 +09:00
c-bata
d6c1292b21 Avoid blocking when execution 2017-07-18 20:48:50 +09:00
c-bata
3f0334a649 Add WriteRawStr 2017-07-18 19:06:38 +09:00
c-bata
850fa92045 Add filter tests 2017-07-18 19:04:11 +09:00
c-bata
58303e0e68 bugfix: FilterContains returns Uppercase completions 2017-07-18 14:24:30 +09:00
c-bata
f5cfbae4be Update example 2017-07-18 05:34:52 +09:00
c-bata
570e2c6507 Update Makefile 2017-07-18 05:32:25 +09:00
c-bata
f3212afbf7 Run goimports 2017-07-18 05:32:14 +09:00
c-bata
050e78b823 Move go files to project root 2017-07-18 05:27:57 +09:00
c-bata
7427a72a4a Remove glide and Update Makefile 2017-07-18 05:25:06 +09:00
c-bata
7baaf91845 Add FilterHasPrefix and FilterContains 2017-07-18 05:20:13 +09:00
c-bata
4442571bb6 Fix bug when displaying completion on the right end. 2017-07-18 04:06:32 +09:00