bump deps

This commit is contained in:
Jonathan Turner 2019-07-29 19:46:24 +12:00
parent d126ba3296
commit bd639b52ff
4 changed files with 540 additions and 559 deletions

1075
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ nom = "5.0.0"
dunce = "1.0.0" dunce = "1.0.0"
indexmap = { version = "1.0.2", features = ["serde-1"] } indexmap = { version = "1.0.2", features = ["serde-1"] }
chrono-humanize = "0.0.11" chrono-humanize = "0.0.11"
byte-unit = "2.1.0" byte-unit = "3.0.1"
ordered-float = {version = "1.0.2", features = ["serde"]} ordered-float = {version = "1.0.2", features = ["serde"]}
prettyprint = "0.7.0" prettyprint = "0.7.0"
futures-preview = { version = "=0.3.0-alpha.17", features = ["compat", "io-compat"] } 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" enum_derive = "0.1.7"
adhoc_derive = "0.1.2" adhoc_derive = "0.1.2"
lazy_static = "1.3.0" lazy_static = "1.3.0"
git2 = "0.9.1" git2 = "0.9.2"
dirs = "2.0.1" dirs = "2.0.2"
ctrlc = "3.1.3" ctrlc = "3.1.3"
ptree = "0.2" ptree = "0.2"
clipboard = "0.5" clipboard = "0.5"
@ -63,18 +63,18 @@ roxmltree = "0.6.1"
nom5_locate = "0.1.1" nom5_locate = "0.1.1"
derive_more = "0.15.0" derive_more = "0.15.0"
enum-utils = "0.1.1" enum-utils = "0.1.1"
unicode-xid = "0.1.0" unicode-xid = "0.2.0"
serde_ini = "0.2.0" serde_ini = "0.2.0"
subprocess = "0.1.18" subprocess = "0.1.18"
sys-info = "0.5.7" sys-info = "0.5.7"
mime = "0.3.13" mime = "0.3.13"
regex = "1.1.9" regex = "1.2.0"
pretty-hex = "0.1.0" pretty-hex = "0.1.0"
neso = "0.5.0" neso = "0.5.0"
rawkey = {git = "https://github.com/jonathandturner/rawkey"} rawkey = {git = "https://github.com/jonathandturner/rawkey"}
crossterm = "0.9.6" crossterm = "0.10.1"
tempfile = "3.1.0" tempfile = "3.1.0"
image = "0.21.2" image = "0.22.0"
semver = "0.9.0" semver = "0.9.0"
uuid = {version = "0.7.4", features = [ "v4", "serde" ]} uuid = {version = "0.7.4", features = [ "v4", "serde" ]}
syntect = "3.2.0" syntect = "3.2.0"

View File

@ -197,11 +197,11 @@ impl RenderContext {
let cursor = cursor(); let cursor = cursor();
cursor.hide()?; cursor.hide()?;
self.width = terminal_size.0 as usize + 1; self.width = terminal_size.0 as usize;
self.height = if self.lores_mode { self.height = if self.lores_mode {
terminal_size.1 as usize terminal_size.1 as usize - 1
} else { } else {
terminal_size.1 as usize * 2 (terminal_size.1 as usize - 1) * 2
}; };
} }

View File

@ -57,8 +57,8 @@ fn paint_textview(
// render // render
let mut pos = 0; let mut pos = 0;
let width = size.0 as usize + 1; let width = size.0 as usize;
let height = size.1 as usize; let height = size.1 as usize - 1;
let mut frame_buffer = vec![]; //(' ', 0, 0, 0); max_pos]; let mut frame_buffer = vec![]; //(' ', 0, 0, 0); max_pos];
for command in draw_commands { for command in draw_commands {