Commit Graph

43 Commits

Author SHA1 Message Date
c-bata
b884e90bc5 Remove ControlSpace handling 2018-02-19 23:41:34 +09:00
c-bata
f2ee1fd099 Separate handleCompletionKeyBinding 2018-02-19 23:34:45 +09:00
c-bata
134d46302a Separate key binding 2018-02-19 23:32:20 +09:00
Nao YONASHIRO
c6186541a9 feat: improve rendering performance on windows (#47)
* feat: to ignore the codepoint 0

* feat: hide cursor whole rendering phase

* feat: change EraseDown timing

* feat: add sleep

* feat: to async Read on windows

* style: goimports

* refactor: use defer

* feat: remove ignore flush

* chore: remove ignore output
2018-02-18 22:27:59 +09:00
Masashi SHIBATA
79dd0f2831
Change filepath for debug log for supporting multiple platfroms (#33) 2018-02-13 00:04:49 +09:00
c-bata
661e5e0c0b Add some refactor changes 2018-02-12 19:36:21 +09:00
Yusuke Nakamura
2c030818ad Catch keycode 'ControlM'
In windows, send ControlM when press enter key.
2018-02-12 19:20:57 +09:00
Yasuhiro Matsumoto
df1341fe00 windows support 2018-02-12 19:20:57 +09:00
Brett Buddin
4a8c31c50e Fixes #12.
Makes a copy of the bytes we read from stdin and sends those to the
processing goroutine instead of a slice from our scratch buffer. This
avoids sharing the same underlying array data across goroutines.
2017-09-29 21:56:33 -04:00
c-bata
26a62ce99f Stop handling signal when running executor 2017-08-22 00:52:03 +09:00
c-bata
f8cde79229 Add some doc comments 2017-08-22 00:47:15 +09:00
c-bata
bd6a548700 Run fmt 2017-08-15 01:50:04 +09:00
c-bata
81ee67c776 Alter the argument of completer to Document 2017-08-13 16:43:10 +09:00
c-bata
691d64f6f1 Add OptionKeyBindMode 2017-08-13 13:42:40 +09:00
c-bata
c98ec2f0d6 Refactor and fix completing operation 2017-08-13 13:18:56 +09:00
c-bata
62d47c3acf Refactor keybindings 2017-08-13 13:09:45 +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
96ca27863f Refactor set blocking 2017-08-09 16:20:31 +09:00
c-bata
6a6ddef913 Fix EAGAIN error 2017-08-09 14:04:10 +09:00
c-bata
01c461e472 Add some refactor changes 2017-08-09 12:50:07 +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
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
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
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
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
050e78b823 Move go files to project root 2017-07-18 05:27:57 +09:00