Skip to content

Commit 09251bd

Browse files
committed
実行完了時に実行中ですメッセージを削除
1 parent a163f3a commit 09251bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/terminal/exec.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ export function ExecFile(props: ExecProps) {
102102
setContents((prev) => prev + output.message + "\n");
103103
});
104104
setExecutionState("idle");
105+
if (isFirstOutput) {
106+
// If there was no output, clear the "実行中です..." message
107+
clearTerminal(terminalInstanceRef.current!);
108+
}
105109
})();
106110
}
107111
}, [

0 commit comments

Comments
 (0)