summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/terminal/terminal.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/terminal/terminal.js')
-rw-r--r--app/assets/javascripts/terminal/terminal.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/app/assets/javascripts/terminal/terminal.js b/app/assets/javascripts/terminal/terminal.js
index f4e546e4d4e..cf9064aba57 100644
--- a/app/assets/javascripts/terminal/terminal.js
+++ b/app/assets/javascripts/terminal/terminal.js
@@ -13,14 +13,11 @@ Terminal.applyAddon(webLinks);
export default class GLTerminal {
constructor(element, options = {}) {
- this.options = Object.assign(
- {},
- {
- cursorBlink: true,
- screenKeys: true,
- },
- options,
- );
+ this.options = {
+ cursorBlink: true,
+ screenKeys: true,
+ ...options,
+ };
this.container = element;
this.onDispose = [];