removed incompatible disable_echo from session exist check

This commit is contained in:
Valerie Wolfe 2024-06-10 12:01:15 -04:00
parent 2e28acc3c3
commit 21f7b72298

View file

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