Skip to content

Commit 913b06f

Browse files
Change columns to 55
1 parent 72de394 commit 913b06f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/editor.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ export function initMonaco(runCode: () => void, clearConsole: () => void): void
9696
automaticLayout: true,
9797
tabSize: 4,
9898
insertSpaces: true,
99-
wordWrap: 'off',
99+
wordWrap: 'wordWrapColumn',
100+
wordWrapColumn: 55,
101+
// rulers: [75],
100102
lineNumbers: 'on',
101103
renderLineHighlight: 'line',
102104
cursorBlinking: 'smooth',

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const term = new Terminal({
5757
cursor: '#58a6ff',
5858
},
5959
rows: 48,
60-
cols: 80,
60+
cols: 55,
6161
convertEol: true,
6262
scrollback: 10000,
6363
});

0 commit comments

Comments
 (0)