Skip to content

Commit

Permalink
fix: warnings should be output to stderr instead of stdout (#1669)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi authored Sep 21, 2024
1 parent 1a1820c commit 7b3651e
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 78 deletions.
114 changes: 50 additions & 64 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ strip = true

[workspace.dependencies]
ansi-to-tui = "6.0.0"
anyhow = "1.0.88"
anyhow = "1.0.89"
arc-swap = "1.7.1"
base64 = "0.22.1"
bitflags = "2.6.0"
clap = { version = "4.5.17", features = [ "derive" ] }
clap = { version = "4.5.18", features = [ "derive" ] }
crossterm = { version = "0.28.1", features = [ "event-stream" ] }
dirs = "5.0.1"
futures = "0.3.30"
Expand All @@ -34,5 +34,5 @@ tokio = { version = "1.40.0", features = [ "full" ] }
tokio-stream = "0.1.16"
tokio-util = "0.7.12"
tracing = { version = "0.1.40", features = [ "max_level_debug", "release_max_level_warn" ] }
unicode-width = "0.1.13"
unicode-width = "0.1.14"
uzers = "0.12.1"
4 changes: 2 additions & 2 deletions yazi-boot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ serde = { workspace = true }

[build-dependencies]
clap = { workspace = true }
clap_complete = "4.5.26"
clap_complete = "4.5.29"
clap_complete_fig = "4.5.2"
clap_complete_nushell = "4.5.3"
vergen-gitcl = { version = "1.0.0", features = [ "build" ] }
vergen-gitcl = { version = "1.0.1", features = [ "build" ] }
6 changes: 3 additions & 3 deletions yazi-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ crossterm = { workspace = true }
md-5 = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
toml_edit = "0.22.20"
toml_edit = "0.22.21"

[build-dependencies]
yazi-shared = { path = "../yazi-shared", version = "0.3.3" }

# External build dependencies
anyhow = { workspace = true }
clap = { workspace = true }
clap_complete = "4.5.26"
clap_complete = "4.5.29"
clap_complete_fig = "4.5.2"
clap_complete_nushell = "4.5.3"
serde_json = { workspace = true }
vergen-gitcl = { version = "1.0.0", features = [ "build" ] }
vergen-gitcl = { version = "1.0.1", features = [ "build" ] }

[target.'cfg(target_os = "macos")'.dependencies]
crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] }
Expand Down
8 changes: 4 additions & 4 deletions yazi-config/preset/keymap.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ keymap = [
# Find
{ on = "/", run = "find --smart", desc = "Find next file" },
{ on = "?", run = "find --previous --smart", desc = "Find previous file" },
{ on = "n", run = "find_arrow", desc = "Go to the next found" },
{ on = "N", run = "find_arrow --previous", desc = "Go to the previous found" },
{ on = "n", run = "find_arrow", desc = "Goto the next found" },
{ on = "N", run = "find_arrow --previous", desc = "Goto the previous found" },

# Sorting
{ on = [ ",", "m" ], run = [ "sort modified --reverse=no", "linemode mtime" ], desc = "Sort by modified time" },
Expand All @@ -120,8 +120,8 @@ keymap = [

# Goto
{ on = [ "g", "h" ], run = "cd ~", desc = "Go home" },
{ on = [ "g", "c" ], run = "cd ~/.config", desc = "Go to ~/.config" },
{ on = [ "g", "d" ], run = "cd ~/Downloads", desc = "Go to ~/Downloads" },
{ on = [ "g", "c" ], run = "cd ~/.config", desc = "Goto ~/.config" },
{ on = [ "g", "d" ], run = "cd ~/Downloads", desc = "Goto ~/Downloads" },
{ on = [ "g", "<Space>" ], run = "cd --interactive", desc = "Jump interactively" },

# Tabs
Expand Down
Loading

0 comments on commit 7b3651e

Please sign in to comment.