diff options
author | Canop <cano.petrole@gmail.com> | 2024-11-16 08:12:42 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2024-11-16 08:12:42 +0100 |
commit | db0fd941e13d96fbb3e9c3afbab8fd3b74d88d14 (patch) | |
tree | 74d79e9a873e0389ea0fdfdf1348e86f8bf59566 | |
parent | ba41f0e778f68c3d17b93681015fb49c789a97a6 (diff) |
link from iterm2 faq to relevant issuemain
-rw-r--r-- | src/verb/verb_store.rs | 6 | ||||
-rw-r--r-- | website/docs/common-problems.md | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/verb/verb_store.rs b/src/verb/verb_store.rs index d794c3f..9e49942 100644 --- a/src/verb/verb_store.rs +++ b/src/verb/verb_store.rs @@ -567,7 +567,7 @@ impl VerbStore { prefix: &str, sel_info: SelInfo<'_>, panel_state_type: Option<PanelStateType>, - ) -> PrefixSearchResult<'v, &Verb> { + ) -> PrefixSearchResult<'v, &'v Verb> { self.search(prefix, Some(sel_info), true, panel_state_type) } @@ -575,7 +575,7 @@ impl VerbStore { &'v self, prefix: &str, panel_state_type: Option<PanelStateType>, - ) -> PrefixSearchResult<'v, &Verb> { + ) -> PrefixSearchResult<'v, &'v Verb> { self.search(prefix, None, true, panel_state_type) } @@ -599,7 +599,7 @@ impl VerbStore { sel_info: Option<SelInfo>, short_circuit: bool, panel_state_type: Option<PanelStateType>, - ) -> PrefixSearchResult<'v, &Verb> { + ) -> PrefixSearchResult<'v, &'v Verb> { let mut found_index = 0; let mut nb_found = 0; let mut completions: Vec<&str> = Vec::new(); diff --git a/website/docs/common-problems.md b/website/docs/common-problems.md index c0aabd6..cfd2f78 100644 --- a/website/docs/common-problems.md +++ b/website/docs/common-problems.md @@ -51,6 +51,8 @@ Go to *Preferences->Profiles->Default->Keys* and add a mapping that maps `⌥Ret Note that this will change the behavior of `alt+enter` for all terminal windows, and it will no longer send the `return` sequence. +* [relevant issue](https://github.com/Canop/broot/issues/682) + **Remap in Broot** If a shortcut isn't available for broot and you can't or don't want to remap the one of your terminal, the solution is to change the shortcut in broot. |