mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
Fix session-view navigation for PTY fallback sessions
Change API response message from 'Terminal spawned successfully' to 'Session created successfully' for PTY fallback sessions. This allows the web frontend to properly navigate to session-view instead of treating it as a terminal window spawn. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9b3839e361
commit
68dd22e183
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ fn handle_create_session(
|
|||
println!("Terminal spawned with session ID: {terminal_session_id}");
|
||||
let response = ApiResponse {
|
||||
success: Some(true),
|
||||
message: Some("Terminal spawned successfully".to_string()),
|
||||
message: Some("Session created successfully".to_string()),
|
||||
error: None,
|
||||
session_id: Some(terminal_session_id),
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue