Skip to content

Commit 1c6af3e

Browse files
committed
エラー修正
1 parent d238bba commit 1c6af3e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/terminal/exec.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,13 @@ export function ExecFile(props: ExecProps) {
4747
terminalInstanceRef.current!.write(systemMessageColor("実行中です..."));
4848
const outputs = await runFiles(props.filenames);
4949
clearTerminal(terminalInstanceRef.current!);
50-
writeOutput(terminalInstanceRef.current!, outputs, false);
50+
writeOutput(
51+
terminalInstanceRef.current!,
52+
outputs,
53+
false,
54+
undefined,
55+
props.language
56+
);
5157
// TODO: 1つのファイル名しか受け付けないところに無理やりコンマ区切りで全部のファイル名を突っ込んでいる
5258
setExecResult(props.filenames.join(","), outputs);
5359
setExecutionState("idle");
@@ -60,6 +66,7 @@ export function ExecFile(props: ExecProps) {
6066
runFiles,
6167
setExecResult,
6268
terminalInstanceRef,
69+
props.language,
6370
]);
6471

6572
return (

0 commit comments

Comments
 (0)