removed disable_echo flag from commands that don't support it

This commit is contained in:
Valerie Wolfe 2024-03-08 13:50:27 -05:00
parent 882e130121
commit 782fb694d0

View file

@ -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();
}