Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2bd868e

Browse files
committedJul 6, 2024··
fix(webshell): pin terminal height and width to 160x50 to align with the shell
1 parent cdcfd5d commit 2bd868e

File tree

1 file changed

+4
-1
lines changed
  • src/main/resources/org/arl/fjage/web/shell

1 file changed

+4
-1
lines changed
 

‎src/main/resources/org/arl/fjage/web/shell/index.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@
172172
const darkmodeBtn = document.getElementById('darkmode-tgl');
173173
let userTheme = false;
174174

175-
const term = new Terminal();
175+
const term = new Terminal({
176+
cols: 160,
177+
rows: 50
178+
});
176179
fitAddon = new FitAddon.FitAddon();
177180
term.loadAddon(fitAddon);
178181
term.loadAddon(new WebLinksAddon.WebLinksAddon());

0 commit comments

Comments
 (0)
Please sign in to comment.