Skip to content

Commit

Permalink
update ratatui-image to 1.0.5
Browse files Browse the repository at this point in the history
Should bring in some improvements like tmux support.
  • Loading branch information
benjajaja committed Jul 20, 2024
1 parent d10ca32 commit d1b3ad6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 31 deletions.
35 changes: 7 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ colors-transform = "^0"
dirs-next = "^2"
filetime = "^0"
globset = "^0"
image = "0.24.5"
image = "^0.25"
lazy_static = "^1"
libc = "^0"
lscolors = { version = "0.17.0", features = ["nu-ansi-term"] }
notify = "^6"
open = "^5"
phf = { version = "^0", features = ["macros"], optional = true }
rand = "^0"
ratatui-image = { version = "0.8.1", default-features = false, features = ["termion", "rustix", "serde"] }
ratatui-image = { version = "1.0.5", default-features = false, features = ["termion", "rustix", "serde"] }
regex = "1.9.3"
rustyline = "^12"
serde = { version = "^1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion src/types/state/preview_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl PreviewState {
.and_then(|reader| reader.decode().map_err(Self::map_io_err))
.and_then(|dyn_img| {
picker
.new_protocol(dyn_img, rect, Resize::Fit)
.new_protocol(dyn_img, rect, Resize::Fit(None))
.map_err(|err| {
io::Error::new(io::ErrorKind::Other, format!("{err}"))
})
Expand Down

0 comments on commit d1b3ad6

Please sign in to comment.