diff --git a/Cargo.toml b/Cargo.toml index 2de34917..b20c39a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,12 +28,10 @@ tokio = "0.2.0-alpha.4" [dependencies.tui] version = "0.6.2" +git = "https://github.com/ClementTsang/tui-rs" default-features = false features = ['crossterm'] -[patch.crates-io] -tui = {git = "https://github.com/ClementTsang/tui-rs"} - [dev-dependencies] assert_cmd = "0.10" predicates = "1" diff --git a/TODO.md b/TODO.md index 3752b7d9..4c030170 100644 --- a/TODO.md +++ b/TODO.md @@ -14,11 +14,11 @@ Note this will probably migrate to GitHub's native Issues; this was mostly for p * ~~FIX PROCESSES AHHHHHH~~ -~~* Scrolling in at least processes~~ +* ~~Scrolling in at least processes~~ * Keybindings - I want to do at least arrow keys and dd. -~~* Legend gets in the way at too small of a height... maybe modify tui a bit more to fix this.~~ +* ~~Legend gets in the way at too small of a height... maybe modify tui a bit more to fix this.~~ ## After making public diff --git a/tests/arg_rate_tests.rs b/tests/arg_rate_tests.rs index d2527123..6b5c88c9 100644 --- a/tests/arg_rate_tests.rs +++ b/tests/arg_rate_tests.rs @@ -6,7 +6,7 @@ use std::process::Command; #[test] fn test_small_rate() -> Result<(), Box> { - Command::new("./target/debug/rustop") + Command::new("./target/debug/bottom") .arg("-r") .arg("249") .assert() @@ -17,7 +17,7 @@ fn test_small_rate() -> Result<(), Box> { #[test] fn test_large_rate() -> Result<(), Box> { - Command::new("./target/debug/rustop") + Command::new("./target/debug/bottom") .arg("-r") .arg("18446744073709551616") .assert() @@ -29,7 +29,7 @@ fn test_large_rate() -> Result<(), Box> { #[test] fn test_negative_rate() -> Result<(), Box> { // This test should auto fail due to how clap works - Command::new("./target/debug/rustop") + Command::new("./target/debug/bottom") .arg("-r") .arg("-1000") .assert() @@ -41,7 +41,7 @@ fn test_negative_rate() -> Result<(), Box> { #[test] fn test_invalid_rate() -> Result<(), Box> { - Command::new("./target/debug/rustop") + Command::new("./target/debug/bottom") .arg("-r") .arg("100-1000") .assert()