summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-06-23 21:08:44 +0200
committerCanop <cano.petrole@gmail.com>2020-06-23 21:08:44 +0200
commit2c812b6fbb157fd449b75f90b52ae12f009b16ea (patch)
treed22f591ac5dcb57332caa09922f850990f347949
parented69d7b084788907d015332397cdb4c8e238f30c (diff)
v 0.17.0v0.17.0
-rw-r--r--CHANGELOG.md5
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--src/app/app.rs3
-rw-r--r--website/docs/conf_file.md3
5 files changed, 8 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc2c75c..b70e0d9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,8 @@
-### next version
+<a name="v0.17.0"></a>
+### v0.17.0 - 2020-06-21
#### Major feature: keep broot open behind terminal editors
If you now open vi or emacs from broot with `leave_broot = false` you should
-be back in broot after you quit the editor. Fix
+be back in broot after you quit the editor - Fix #34 - Fix #144 - Fix #158
#### Minor changes:
- it's possible to define input edition shortcuts - Fix #235
- MacOS: config directory for new install is ~/.config/broot - Fix #103
diff --git a/Cargo.lock b/Cargo.lock
index 78cad51..0e15f1c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -84,7 +84,7 @@ dependencies = [
[[package]]
name = "broot"
-version = "0.16.1-dev"
+version = "0.17.0"
dependencies = [
"bet",
"chrono",
diff --git a/Cargo.toml b/Cargo.toml
index 719c96e..3070fa3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "broot"
-version = "0.16.1-dev"
+version = "0.17.0"
authors = ["dystroy <denys.seguret@gmail.com>"]
repository = "https://github.com/Canop/broot"
documentation = "https://dystroy.org/broot"
diff --git a/src/app/app.rs b/src/app/app.rs
index f9efa32..64f554d 100644
--- a/src/app/app.rs
+++ b/src/app/app.rs
@@ -206,8 +206,9 @@ impl App {
self.mut_panel().clear_input();
}
if self.remove_state(screen) {
- // should we set the cmd ?
self.mut_state().refresh(screen, con);
+ let other_path = self.get_other_panel_path();
+ self.mut_panel().refresh_input_status(&other_path, con);
} else if ESCAPE_TO_QUIT {
self.quitting = true;
}
diff --git a/website/docs/conf_file.md b/website/docs/conf_file.md
index 8ea49cf..c6e52e3 100644
--- a/website/docs/conf_file.md
+++ b/website/docs/conf_file.md
@@ -84,6 +84,7 @@ key = "F2"
shortcut = "e"
apply_to = "file"
execution = "/usr/bin/nvim {file}"
+leave_broot = false
```
The possible attributes are:
@@ -189,8 +190,6 @@ If you set `leave_broot = false`, broot won't quit when executing your command,
This is useful for commands modifying the tree (like creating or moving files).
-There's currently a limitation: terminal based programs don't properly run if broot isn't closed before. It means you can't for example set `leave_broot = false` in verbs launching `vi` or `emacs`.
-
## Verb Arguments
The execution of a verb can take one or several arguments.