diff options
author | Canop <cano.petrole@gmail.com> | 2020-09-07 18:55:41 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-09-07 18:55:41 +0200 |
commit | 313234bcfd24181c9558f2c5f6f735510c1dfda7 (patch) | |
tree | e2079a5c8aaac3c8d7ab6d5d9250fc6d49453add /src/browser/browser_state.rs | |
parent | 0335393a817285fe9ac42f18fe9a6f539c8a8d9e (diff) |
a few fixes to the :copy_path implementation
It still doesn't cross compile to windows, though
Diffstat (limited to 'src/browser/browser_state.rs')
-rw-r--r-- | src/browser/browser_state.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/browser/browser_state.rs b/src/browser/browser_state.rs index 3562fe5..9cd833b 100644 --- a/src/browser/browser_state.rs +++ b/src/browser/browser_state.rs @@ -331,14 +331,6 @@ impl AppState for BrowserState { AppStateCmdResult::PopState } } - Internal::copy_path => { - let path = &self.displayed_tree().selected_line().target(); - cli_clipboard::set_contents( path.to_string_lossy().into_owned() ) - .map_err( |_| ProgramError::ClipboardError )? - ; - - AppStateCmdResult::Keep - } Internal::focus => internal_focus::on_internal( internal_exec, input_invocation, |