Skip to content

Commit

Permalink
fix(webshell): pin terminal height and width to 160x50 to align with …
Browse files Browse the repository at this point in the history
…the shell
  • Loading branch information
notthetup committed Jul 6, 2024
1 parent cdcfd5d commit 2bd868e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/resources/org/arl/fjage/web/shell/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@
const darkmodeBtn = document.getElementById('darkmode-tgl');
let userTheme = false;

const term = new Terminal();
const term = new Terminal({
cols: 160,
rows: 50
});
fitAddon = new FitAddon.FitAddon();
term.loadAddon(fitAddon);
term.loadAddon(new WebLinksAddon.WebLinksAddon());
Expand Down

0 comments on commit 2bd868e

Please sign in to comment.