-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR targets 2 pain points. 1. The `Explore` message was async, which caused some unexpected behavior. This was fixed by splitting `Explore` into `ExplorePwd`, `ExplorePwdAsync` and `ExploreParentsAsync`. `ExploreParentsAsync` is similar to the former `Explore`, which is mainly used when loading `xplr` for the first time. However, what we'll be using frequently are `ExplorePwd` and `ExplorePwdAsync` messages. 2. Files with spaces caused some unexpected behavior. This was fixed by escaping the paths properly. This also fixed focusing of a file after creating or renaming it. Anothor breaking change is that `XPLR_PIPE_FOCUS_OUT` has been removed. `XPLR_FOCUS_PATH` is all we need. So, the rule of thumb is if a variable contains one liner value, it can be used directly from the env vars. Variables that can contain multi-line values, will be exposed via the pipes. Minor changes are - Add `switch_mode` mode to the global key binding help menu - Moved some UI related code from config.rs to ui.rs. - Fixed compilation issue on `rustc 1.50.0`.
- Loading branch information
1 parent
52fbaef
commit 7c5468c
Showing
9 changed files
with
388 additions
and
354 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "xplr" | ||
version = "0.7.2" # Update config.yml, config.rs and default.nix | ||
version = "0.8.0" # Update config.yml, config.rs | ||
authors = ["Arijit Basu <[email protected]>"] | ||
edition = "2018" | ||
description = "A hackable, minimal, fast TUI file explorer" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.