removed incompatible disable_echo from session exist check
This commit is contained in:
parent
2e28acc3c3
commit
21f7b72298
1 changed files with 0 additions and 1 deletions
|
@ -44,7 +44,6 @@ pub fn session_exists<S: Into<String>>(target: S) -> bool {
|
||||||
let has_session = commands::HasSession::new()
|
let has_session = commands::HasSession::new()
|
||||||
.target_session(target.into());
|
.target_session(target.into());
|
||||||
Tmux::new().add_command(has_session)
|
Tmux::new().add_command(has_session)
|
||||||
.disable_echo()
|
|
||||||
.status()
|
.status()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.success()
|
.success()
|
||||||
|
|
Loading…
Reference in a new issue