Skip to content

Commit

Permalink
increase xterm terminal width
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielburnworth committed Nov 21, 2023
1 parent 338ad7f commit 0d86323
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/terminal/__tests__/support_test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const mockTerminal: Pick<Terminal, "open"> = {
const mockTerminal: Pick<Terminal, "open" | "resize"> = {
open: jest.fn(),
resize: jest.fn(),
};

jest.mock("xterm", () => {
Expand Down
1 change: 1 addition & 0 deletions frontend/terminal/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const attachTerminal = () => {
const terminal = new Terminal({});
if (node) {
terminal.open(node);
terminal.resize(84, 24);
}
return terminal;
};
Expand Down

0 comments on commit 0d86323

Please sign in to comment.