commit | fc8a3724e411f30201f956bc65227b27e46eb5b5 | [log] [tgz] |
---|---|---|
author | Jason Lin <lxj@google.com> | Wed Sep 07 17:49:18 2022 +1000 |
committer | Jason Lin <lxj@google.com> | Wed Sep 07 23:45:48 2022 +0000 |
tree | 18ac9f4dda4b8e088ddc8865b100cc9d0af1a7ec | |
parent | 20be3efc377063b067ee9498622e2ec5bc760c0a [diff] [blame] |
terminal: update xterm-addon-webgl to fix rendering issues The xterm-addon-webgl addon is built from my github repo [1] and uploaded to our gs bucket. I am getting my fixes into the upstream so that we don't need to do this any more. [1] https://github.com/JasonXJ/xterm.js/commit/f233f02f12ebb7dbd53502e5a4fafec1e55f781f Bug: b/236205389 Change-Id: I82b1b8f2c1d685026dab0c2246586742007f67da Reviewed-on: https://chromium-review.googlesource.com/c/apps/libapps/+/3878153 Reviewed-by: Joel Hockey <joelhockey@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/terminal/js/terminal_emulator.js b/terminal/js/terminal_emulator.js index a3e7c31..35c3243 100644 --- a/terminal/js/terminal_emulator.js +++ b/terminal/js/terminal_emulator.js
@@ -160,7 +160,7 @@ this.enableWebGL_ = enableWebGL; // TODO: we should probably pass the initial prefs to the ctor. - this.term = testParams?.term || new Terminal(); + this.term = testParams?.term || new Terminal({allowProposedApi: true}); this.fontManager_ = testParams?.fontManager || fontManager; /** @type {?Element} */