Try to find session in remote terminal manager. Returns true if found.
(session_id: &str)
| 314 | |
| 315 | /// Try to find session in remote terminal manager. Returns true if found. |
| 316 | async fn is_remote_session(session_id: &str) -> bool { |
| 317 | if let Some(manager) = get_remote_workspace_manager() { |
| 318 | if let Some(terminal_manager) = manager.get_terminal_manager().await { |
| 319 | return terminal_manager.get_session(session_id).await.is_some(); |
| 320 | } |
| 321 | } |
| 322 | false |
| 323 | } |
| 324 | |
| 325 | #[tauri::command] |
| 326 | pub async fn terminal_create( |
no test coverage detected