mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-27 07:34:27 +02:00
Fixed text issue.
This commit is contained in:
parent
7b3c63c8e7
commit
231049c118
@ -28,12 +28,10 @@ tokio = "0.2.0-alpha.4"
|
|||||||
|
|
||||||
[dependencies.tui]
|
[dependencies.tui]
|
||||||
version = "0.6.2"
|
version = "0.6.2"
|
||||||
|
git = "https://github.com/ClementTsang/tui-rs"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ['crossterm']
|
features = ['crossterm']
|
||||||
|
|
||||||
[patch.crates-io]
|
|
||||||
tui = {git = "https://github.com/ClementTsang/tui-rs"}
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
assert_cmd = "0.10"
|
assert_cmd = "0.10"
|
||||||
predicates = "1"
|
predicates = "1"
|
||||||
|
4
TODO.md
4
TODO.md
@ -14,11 +14,11 @@ Note this will probably migrate to GitHub's native Issues; this was mostly for p
|
|||||||
|
|
||||||
* ~~FIX PROCESSES AHHHHHH~~
|
* ~~FIX PROCESSES AHHHHHH~~
|
||||||
|
|
||||||
~~* Scrolling in at least processes~~
|
* ~~Scrolling in at least processes~~
|
||||||
|
|
||||||
* Keybindings - I want to do at least arrow keys and dd.
|
* 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
|
## After making public
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ use std::process::Command;
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_small_rate() -> Result<(), Box<dyn std::error::Error>> {
|
fn test_small_rate() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
Command::new("./target/debug/rustop")
|
Command::new("./target/debug/bottom")
|
||||||
.arg("-r")
|
.arg("-r")
|
||||||
.arg("249")
|
.arg("249")
|
||||||
.assert()
|
.assert()
|
||||||
@ -17,7 +17,7 @@ fn test_small_rate() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_large_rate() -> Result<(), Box<dyn std::error::Error>> {
|
fn test_large_rate() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
Command::new("./target/debug/rustop")
|
Command::new("./target/debug/bottom")
|
||||||
.arg("-r")
|
.arg("-r")
|
||||||
.arg("18446744073709551616")
|
.arg("18446744073709551616")
|
||||||
.assert()
|
.assert()
|
||||||
@ -29,7 +29,7 @@ fn test_large_rate() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
#[test]
|
#[test]
|
||||||
fn test_negative_rate() -> Result<(), Box<dyn std::error::Error>> {
|
fn test_negative_rate() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
// This test should auto fail due to how clap works
|
// This test should auto fail due to how clap works
|
||||||
Command::new("./target/debug/rustop")
|
Command::new("./target/debug/bottom")
|
||||||
.arg("-r")
|
.arg("-r")
|
||||||
.arg("-1000")
|
.arg("-1000")
|
||||||
.assert()
|
.assert()
|
||||||
@ -41,7 +41,7 @@ fn test_negative_rate() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_invalid_rate() -> Result<(), Box<dyn std::error::Error>> {
|
fn test_invalid_rate() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
Command::new("./target/debug/rustop")
|
Command::new("./target/debug/bottom")
|
||||||
.arg("-r")
|
.arg("-r")
|
||||||
.arg("100-1000")
|
.arg("100-1000")
|
||||||
.assert()
|
.assert()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user