Skip to content

Commit 4c4d1cf

Browse files
committed
build fix
1 parent 953fc99 commit 4c4d1cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gui/src/hooks/useTerminal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ export const useTerminal = () => {
4242

4343
xtermRef.current = xterm;
4444

45-
xterm.prompt = () => {
45+
const prompt = () => {
4646
xterm.write('\r\n$ ');
4747
};
4848

49-
xterm.prompt();
49+
prompt();
5050

5151
window.addEventListener('resize', fitAddon.fit);
5252

0 commit comments

Comments
 (0)