From 782fb694d027e46133229de436ece9bf87cb9db7 Mon Sep 17 00:00:00 2001 From: Valerie Date: Fri, 8 Mar 2024 13:50:27 -0500 Subject: [PATCH] removed disable_echo flag from commands that don't support it --- src/command/share.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/command/share.rs b/src/command/share.rs index e46150b..1bf96ab 100644 --- a/src/command/share.rs +++ b/src/command/share.rs @@ -55,7 +55,7 @@ pub fn attach(pargs: &mut Arguments) { // build dispatch let mut tmux = Tmux::new().add_command(attach); if let Some(select_window) = select_window { tmux = tmux.add_command(select_window); } - tmux.disable_echo().output().ok(); + tmux.output().ok(); } pub fn detach(pargs: &mut Arguments) { @@ -77,7 +77,7 @@ pub fn detach(pargs: &mut Arguments) { .target_session(target); Tmux::new() .add_command(detach) - .disable_echo().output().ok(); + .output().ok(); } pub fn has(pargs: &mut Arguments) { @@ -168,6 +168,6 @@ pub fn new(pargs: &mut Arguments) { Tmux::new() .add_command(new) - .disable_echo().output().ok(); + .output().ok(); }