fix(shell): use socket directly

This commit is contained in:
Haileyesus
2026-02-23 11:51:07 +03:00
parent 63dc3ce019
commit ffafb6fee6

View File

@@ -137,7 +137,7 @@ export function useShellConnection({
currentFitAddon.fit(); currentFitAddon.fit();
sendSocketMessage(wsRef.current, { sendSocketMessage(socket, {
type: 'init', type: 'init',
projectPath: currentProject.fullPath || currentProject.path || '', projectPath: currentProject.fullPath || currentProject.path || '',
sessionId: isPlainShellRef.current ? null : selectedSessionRef.current?.id || null, sessionId: isPlainShellRef.current ? null : selectedSessionRef.current?.id || null,