Commit Graph

79 Commits

Author SHA1 Message Date
Caleb Jasik
e8ea53b6c6 Fix off-by-one error for formatting 2019-03-15 19:22:37 -05:00
Roey Darwish Dror
38552646f4 Fix potential integer overflow 2019-01-30 10:41:40 +02:00
Roey Darwish Dror
71558e6bdb Fix light themes 2019-01-24 13:35:38 +02:00
Roey Darwish Dror
fad9cc665c Fix warnings 2019-01-21 20:28:23 +02:00
Roey Darwish Dror
84323d9729 Don't run Powershell in a dumb terminal (fix #110) 2019-01-21 20:12:56 +02:00
Roey Darwish Dror
a404df9c97 Ctrl+C handling documentation 2018-12-31 14:13:06 +02:00
Roey Darwish Dror
f23b6435bf Try to restore cargo fmt 2018-12-11 16:00:19 +02:00
Roey Darwish Dror
39faab0a12 Stop passing the terminal object 2018-12-05 12:59:53 +02:00
Roey Darwish Dror
7a9e1e4bee Respawn Topgrade when version is upgraded (fix #85) 2018-11-13 14:34:53 +02:00
Roey Darwish Dror
c333f9d813 Ignore bad retry answer (fix #86) 2018-11-10 20:18:43 +02:00
Roey Darwish Dror
590d166bac Print a newline after the retry question 2018-11-07 14:56:40 +02:00
Roey Darwish Dror
fde62711d5 Use the console crate 2018-11-01 11:42:17 +02:00
Roey Darwish Dror
e5489270df Fix empty retry in Windows 2018-10-17 14:14:01 +03: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
Roey Darwish Dror
588f76828f Fix retry in Windows (fix #69) 2018-09-14 13:34:26 +03:00
Roey Darwish Dror
9f5d5a8b53 Fix some comments by Clippy 2018-09-06 15:17:03 +03:00
Roey Darwish Dror
c0ac3e483e Accept uppercase letters for retry decision (fixes #58) 2018-08-30 10:41:17 +03:00
Roey Darwish Dror
6c00fae63c Ask to retry failed operations 2018-08-26 13:42:09 +03:00
Roey Darwish Dror
b9e9fad1a0 Fix cargo format 2018-08-07 21:13:50 +03:00
Roey Darwish Dror
84b8f3b236 Fix clippy warnings 2018-07-10 07:29:41 +03:00
Roey Darwish Dror
35dbab8beb Increase the maximum line size 2018-07-03 14:33:48 +03:00
Roey Darwish Dror
15ad9b77cd Add missing newlines 2018-06-28 07:50:15 +03:00
Roey Darwish Dror
c667e224a6 Use #[cfg] instead of if cfg! 2018-06-28 07:49:30 +03:00
Roey Darwish Dror
33a2b5d84c Use cross-platform terminal handling (#34) 2018-06-28 07:49:30 +03:00
Roey Darwish Dror
f2db61f4ad Use Rust's native fill system (fixes #33) 2018-06-25 21:21:34 +03:00
Roey Darwish Dror
239ad6e4f3 Add summary 2018-06-05 14:57:33 +03:00
Roey Darwish Dror
d473b288b3 Use match instead of if-lets (fix #11) 2018-06-04 23:23:25 +03:00
Roey Darwish Dror
504d79121d Display warnings in color (fix #6) 2018-06-03 16:43:53 +03:00
Roey Darwish Dror
047a2980cb Add terminal separator 2018-05-31 16:00:55 +03:00