mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
Update minus, tui to remove crossterm 0.18 dep. (#3739)
We already depend on crossterm 0.19 (and 0.20), so we can at least remove the usage of 0.18 by updating minus and tui.
This commit is contained in:
@ -60,7 +60,7 @@ lazy_static = "1.*"
|
||||
log = "0.4.14"
|
||||
md5 = "0.7.0"
|
||||
meval = "0.2.0"
|
||||
minus = { version="3.3.0", optional=true, features=["async_std_lib", "search"] }
|
||||
minus = { version="3.4.0", optional=true, features=["async_std_lib", "search"] }
|
||||
num-bigint = { version="0.3.1", features=["serde"] }
|
||||
num-format = { version="0.4.0", features=["with-num-bigint"] }
|
||||
num-traits = "0.2.14"
|
||||
|
@ -18,4 +18,4 @@ nu-source = { path="../nu-source", version="0.33.1" }
|
||||
nu-value-ext = { path="../nu-value-ext", version="0.33.1" }
|
||||
|
||||
crossterm = "0.19.0"
|
||||
tui = { version="0.14.0", default-features=false, features=["crossterm"] }
|
||||
tui = { version="0.15.0", default-features=false, features=["crossterm"] }
|
||||
|
@ -108,7 +108,8 @@ impl<'a> Bar<'a> {
|
||||
);
|
||||
|
||||
f.render_widget(barchart, chunks[0]);
|
||||
})
|
||||
})?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn on_right(&mut self) {
|
||||
|
@ -140,6 +140,7 @@ impl<'a> Line<'a> {
|
||||
.bounds(self.y_range),
|
||||
);
|
||||
f.render_widget(chart, chunks[0]);
|
||||
})
|
||||
})?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user