This commit is contained in:
Mitchell Hashimoto 2013-06-14 16:00:16 -07:00
parent 9a69b21025
commit ea01d7b2c6
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ func (rw *ReaderWriterUi) Ask(query string) string {
result <- line result <- line
}() }()
select{ select {
case line := <-result: case line := <-result:
return line return line
case <-sigCh: case <-sigCh: