File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments