removed incompatible disable_echo from session exist check
This commit is contained in:
parent
782fb694d0
commit
802daeba37
1 changed files with 0 additions and 1 deletions
|
@ -35,7 +35,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