removed incompatible disable_echo from session exist check

This commit is contained in:
Valerie Wolfe 2024-03-08 22:54:47 -05:00
parent 782fb694d0
commit 802daeba37

View file

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