mirror of
https://github.com/nushell/nushell.git
synced 2024-12-22 23:23:12 +01:00
commit
a8cb395bf1
1075
Cargo.lock
generated
1075
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
14
Cargo.toml
14
Cargo.toml
@ -25,7 +25,7 @@ nom = "5.0.0"
|
||||
dunce = "1.0.0"
|
||||
indexmap = { version = "1.0.2", features = ["serde-1"] }
|
||||
chrono-humanize = "0.0.11"
|
||||
byte-unit = "2.1.0"
|
||||
byte-unit = "3.0.1"
|
||||
ordered-float = {version = "1.0.2", features = ["serde"]}
|
||||
prettyprint = "0.7.0"
|
||||
futures-preview = { version = "=0.3.0-alpha.17", features = ["compat", "io-compat"] }
|
||||
@ -53,8 +53,8 @@ clap = "2.33.0"
|
||||
enum_derive = "0.1.7"
|
||||
adhoc_derive = "0.1.2"
|
||||
lazy_static = "1.3.0"
|
||||
git2 = "0.9.1"
|
||||
dirs = "2.0.1"
|
||||
git2 = "0.9.2"
|
||||
dirs = "2.0.2"
|
||||
ctrlc = "3.1.3"
|
||||
ptree = "0.2"
|
||||
clipboard = "0.5"
|
||||
@ -63,18 +63,18 @@ roxmltree = "0.6.1"
|
||||
nom5_locate = "0.1.1"
|
||||
derive_more = "0.15.0"
|
||||
enum-utils = "0.1.1"
|
||||
unicode-xid = "0.1.0"
|
||||
unicode-xid = "0.2.0"
|
||||
serde_ini = "0.2.0"
|
||||
subprocess = "0.1.18"
|
||||
sys-info = "0.5.7"
|
||||
mime = "0.3.13"
|
||||
regex = "1.1.9"
|
||||
regex = "1.2.0"
|
||||
pretty-hex = "0.1.0"
|
||||
neso = "0.5.0"
|
||||
rawkey = {git = "https://github.com/jonathandturner/rawkey"}
|
||||
crossterm = "0.9.6"
|
||||
crossterm = "0.10.1"
|
||||
tempfile = "3.1.0"
|
||||
image = "0.21.2"
|
||||
image = "0.22.0"
|
||||
semver = "0.9.0"
|
||||
uuid = {version = "0.7.4", features = [ "v4", "serde" ]}
|
||||
syntect = "3.2.0"
|
||||
|
@ -197,11 +197,11 @@ impl RenderContext {
|
||||
let cursor = cursor();
|
||||
cursor.hide()?;
|
||||
|
||||
self.width = terminal_size.0 as usize + 1;
|
||||
self.width = terminal_size.0 as usize;
|
||||
self.height = if self.lores_mode {
|
||||
terminal_size.1 as usize
|
||||
terminal_size.1 as usize - 1
|
||||
} else {
|
||||
terminal_size.1 as usize * 2
|
||||
(terminal_size.1 as usize - 1) * 2
|
||||
};
|
||||
}
|
||||
|
||||
@ -444,10 +444,6 @@ pub fn view_contents_interactive(
|
||||
#[allow(unused)]
|
||||
let screen = RawScreen::disable_raw_mode();
|
||||
|
||||
println!("Hit enter to return to terminal");
|
||||
let mut buf = String::new();
|
||||
let _ = std::io::stdin().read_line(&mut buf);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -57,8 +57,8 @@ fn paint_textview(
|
||||
|
||||
// render
|
||||
let mut pos = 0;
|
||||
let width = size.0 as usize + 1;
|
||||
let height = size.1 as usize;
|
||||
let width = size.0 as usize;
|
||||
let height = size.1 as usize - 1;
|
||||
let mut frame_buffer = vec![]; //(' ', 0, 0, 0); max_pos];
|
||||
|
||||
for command in draw_commands {
|
||||
|
Loading…
Reference in New Issue
Block a user