Commit Graph

3 Commits

Author SHA1 Message Date
Roey Darwish Dror
a404df9c97 Ctrl+C handling documentation 2018-12-31 14:13:06 +02:00
Roey Darwish Dror
1b61a07d52 Remove #[macro_use] where possible (fix #87) 2018-11-18 13:26:37 +02:00
Roey Darwish Dror
a6b6b7aa4e Ctrl+C handling (#75)
As stated [here](https://doc.rust-lang.org/std/io/trait.BufRead.html#errors-1), `read_until` (and `read_line`) ignore Ctrl+C, so Topgrade does not respond to Ctrl+C in the retry prompt, and instead will exit only when enter is pressed after Ctrl+C. This is undesirable, so this pull request is a WIP until we find a solution.
2018-10-17 14:07:58 +03:00