removed disable_echo flag from commands that don't support it
This commit is contained in:
parent
882e130121
commit
782fb694d0
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue