terminal: update xterm.js selection color
Bug: b/236205389
Change-Id: I9d74a510390b32de9d7bc2c7b59cc250e15bf9c6
Reviewed-on: https://chromium-review.googlesource.com/c/apps/libapps/+/3901751
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Joel Hockey <joelhockey@chromium.org>
diff --git a/terminal/js/terminal_emulator.js b/terminal/js/terminal_emulator.js
index 35c3243..3ab74d0 100644
--- a/terminal/js/terminal_emulator.js
+++ b/terminal/js/terminal_emulator.js
@@ -221,7 +221,8 @@
// to effectively disable that.
cursorAccent: 'rgba(0, 0, 0, 0)',
customGlyphs: true,
- selection: 'rgba(174, 203, 250, .6)',
+ selectionBackground: 'rgba(174, 203, 250, .6)',
+ selectionInactiveBackground: 'rgba(218, 220, 224, .6)',
selectionForeground: 'black',
};
this.observePrefs_();