Spaces:
Running
Running
Commit ·
53a6aba
1
Parent(s): 1170825
commit initial 12-12-2025 0005
Browse files- src/App.js +2 -0
src/App.js
CHANGED
|
@@ -309,6 +309,7 @@ const startSession = async (code, filename) => {
|
|
| 309 |
|
| 310 |
// Run handler — starts session for runnable files; non-runnable will show content
|
| 311 |
// improved handleRun: surfaces backend errors and logs
|
|
|
|
| 312 |
const handleRun = async () => {
|
| 313 |
const node = getNodeByPath(tree, activePath);
|
| 314 |
if (!node || node.type !== "file") {
|
|
@@ -355,6 +356,7 @@ const handleRun = async () => {
|
|
| 355 |
};
|
| 356 |
|
| 357 |
|
|
|
|
| 358 |
// Called when XTerm or small Send triggers input
|
| 359 |
const onTerminalInput = async (line) => {
|
| 360 |
if (!sessionId) {
|
|
|
|
| 309 |
|
| 310 |
// Run handler — starts session for runnable files; non-runnable will show content
|
| 311 |
// improved handleRun: surfaces backend errors and logs
|
| 312 |
+
// improved handleRun: surfaces backend errors and logs
|
| 313 |
const handleRun = async () => {
|
| 314 |
const node = getNodeByPath(tree, activePath);
|
| 315 |
if (!node || node.type !== "file") {
|
|
|
|
| 356 |
};
|
| 357 |
|
| 358 |
|
| 359 |
+
|
| 360 |
// Called when XTerm or small Send triggers input
|
| 361 |
const onTerminalInput = async (line) => {
|
| 362 |
if (!sessionId) {
|