MCPcopy Index your code
hub / github.com/codeaashu/claude-code / onDisconnect

Function onDisconnect

src/server/web/public/terminal.js:8884–8891  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8882\x1B[33m[session ended \u2014 exit code ${msg.exitCode ?? 0}]\x1B[0m`
8883 );
8884 break;
8885 }
8886}
8887function onDisconnect() {
8888 connected = false;
8889 ws = null;
8890 setStatus("disconnected");
8891 stopPing();
8892 showOverlay(reconnectOverlay);
8893 scheduleReconnect();
8894}

Callers

nothing calls this directly

Calls 4

setStatusFunction · 0.70
stopPingFunction · 0.70
showOverlayFunction · 0.70
scheduleReconnectFunction · 0.70

Tested by

no test coverage detected