peco.peco/internal/util
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
..
homedir_darwin.go eradicate fmt.Errorf 2016-06-18 17:40:33 +09:00
homedir_posix.go eradicate fmt.Errorf 2016-06-18 17:40:33 +09:00
homedir_windows.go argh, forgot to fix package name 2015-09-28 22:27:55 +09:00
tty_bsd.go Make it possible to swap a buffer instead of os.Stdout 2016-06-18 17:40:33 +09:00
tty_posix.go oops 2016-06-18 17:40:33 +09:00
tty_windows.go Make it possible to swap a buffer instead of os.Stdout 2016-06-18 17:40:33 +09:00
util.go Move handling collecting results out of the context 2016-07-01 13:19:02 +09:00