Ash Berlin 242ed49ecb Use bufio.Scanner in BasicUi.Ask so we can read whole lines
The previous version used fmt.Fscanln which sounds like it should scan
for a whole line, but it actually errors if there is more than a single
word/token given. You can see this here https://play.golang.org/p/1RYXdtPSbk

And looking at the only usage of this function in core it won't break
anything to change it to actually return whole lines instead.

    line, err := ui.Ask("[c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)?")

Closes #4474
2017-01-29 14:10:14 +00:00
..
2016-11-01 14:08:04 -07:00
2016-11-01 14:08:04 -07:00
2016-11-01 14:08:04 -07:00
2016-11-01 14:08:04 -07:00
2013-08-30 22:59:13 -07:00
2015-05-26 09:28:59 -07:00
2013-12-20 21:36:41 -08:00