Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitenite committed Nov 18, 2024
1 parent 9c32948 commit e0dd460
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"fix-path": "^4.0.0",
"js-string-escape": "^1.0.1",
"langfuse-vercel": "^3.29.1",
"lodash": "^4.17.21",
"lodash.debounce": "^4.0.8",
"mixpanel": "^0.18.0",
"monaco-editor": "^0.52.0",
Expand Down
6 changes: 3 additions & 3 deletions apps/studio/src/routes/editor/Toolbar/Terminal/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { MainChannels } from '@onlook/models/constants';
import { FitAddon } from '@xterm/addon-fit';
import { Terminal as XTerm } from '@xterm/xterm';
import '@xterm/xterm/css/xterm.css';
import { useEffect, useRef } from 'react';
import { Terminal as XTerm } from 'xterm';
import 'xterm/css/xterm.css';

interface TerminalProps {
id?: string;
Expand Down Expand Up @@ -70,7 +70,7 @@ const Terminal = ({ id = 'default' }: TerminalProps) => {
}
};

term.onData((data) => {
term.onData((data: string) => {
window.api.invoke(MainChannels.TERMINAL_INPUT, { id, data });
});

Expand Down
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit e0dd460

Please sign in to comment.