From dee8cbb03493b79c1ca5e8b593e423c392f6c6eb Mon Sep 17 00:00:00 2001 From: Zhi Wang Date: Tue, 18 Jan 2022 18:42:27 -0500 Subject: [PATCH] change xterm size to 120x36 to match that of pty --- assets/main.js | 2 +- assets/replay.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/main.js b/assets/main.js index ff05a82..46adc26 100644 --- a/assets/main.js +++ b/assets/main.js @@ -32,7 +32,7 @@ function createTerminal(path) { }); term.open(document.getElementById('terminal_view')); - term.resize(124, 37); + term.resize(120, 36); const weblinksAddon = new WebLinksAddon.WebLinksAddon(); term.loadAddon(weblinksAddon); diff --git a/assets/replay.js b/assets/replay.js index 2a24e28..a4aa6d6 100644 --- a/assets/replay.js +++ b/assets/replay.js @@ -33,7 +33,7 @@ function createReplayTerminal() { }); term.open(document.getElementById('terminal_view')); - term.resize(124, 37); + term.resize(120, 36); const weblinksAddon = new WebLinksAddon.WebLinksAddon(); term.loadAddon(weblinksAddon);