This commit is contained in:
Asier Isayas 2025-02-19 11:55:40 -05:00
parent 4d72fb9184
commit 2a1d337368

View File

@ -114,12 +114,12 @@ export class JupyterLabAppFactory {
}); });
// Close terminal when Ctrl key is pressed // Close terminal when Ctrl key is pressed
term.node.addEventListener('keydown', (event: KeyboardEvent) => { term.node.addEventListener("keydown", (event: KeyboardEvent) => {
if (event.ctrlKey) { if (event.ctrlKey) {
this.onShellExited(false); this.onShellExited(false);
} }
}); });
return session; return session;
} }
} }