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.
This commit is contained in:
committed by
GitHub
parent
41621bd08f
commit
a6b6b7aa4e
@@ -22,6 +22,11 @@ env_logger = "0.5.13"
|
||||
term_size = "0.3.1"
|
||||
termcolor = "1.0.4"
|
||||
walkdir = "2.2.5"
|
||||
console = "0.6.2"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
nix = "0.11"
|
||||
lazy_static = "1.1.0"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
||||
Reference in New Issue
Block a user