Commit graph

16 commits

Author SHA1 Message Date
Daisuke Maki 20fe945b21 add shell 2017-03-03 15:48:28 +09:00
Daisuke Maki c7f40e4346 surpress error message when user canceled 2017-02-10 07:06:34 +09:00
Daisuke Maki 61b5d22fb8 Move stuff around for better code organization 2016-12-14 11:00:22 +09:00
Daisuke Maki 45398301ea Apply mattn's review 2016-12-13 10:06:12 +09:00
Daisuke Maki 668a498ed8 slight refactor 2016-12-13 07:21:51 +09:00
Daisuke Maki d8e5bcb349 Move handling collecting results out of the context
This avoids possibly running a race condition during doFinish,
as doFinish onyl notifies that we're exiting now. Collecting the
data is now handled in the main function, after all of the
sub-goroutines are done.

fixes #321 (but only for peco > 0.3.6)
2016-07-01 13:19:02 +09:00
Daisuke Maki 8d89338eb2 Fix Ignorable error detection/test 2016-06-23 02:24:29 -04:00
Daisuke Maki b85690181f oops 2016-06-18 17:40:33 +09:00
Daisuke Maki bf161fb19a Make it possible to swap a buffer instead of os.Stdout 2016-06-18 17:40:33 +09:00
Daisuke Maki 39eb717c6e Wrap errors 2016-06-18 17:40:33 +09:00
Daisuke Maki e3c36875fa eradicate fmt.Errorf 2016-06-18 17:40:33 +09:00
Daisuke Maki 9ef1da7a71 Ah, finally realized that Input was looking at a stale version of peco.Keymap 2016-06-18 17:40:33 +09:00
Daisuke Maki 406cfe3bd7 Trying to get rid of "everything is a Ctx" 2016-06-18 17:39:02 +09:00
Daisuke Maki 05ad9ca805 Use <^>v to represent ←↑→↓ 2016-03-23 11:13:38 +09:00
Daisuke Maki 95c840dcb0 argh, forgot to fix package name 2015-09-28 22:27:55 +09:00
Daisuke Maki 586c36a0e7 Let us being the great refactor
* Move internal stuff to internal
* Properly use conditional compilation to detect Windows
* Move type declarations to one location (except for a few places still)
2015-09-28 21:39:43 +09:00