diff --git a/CliClient/app/app-gui.js b/CliClient/app/app-gui.js index d1d245359..b6e967f23 100644 --- a/CliClient/app/app-gui.js +++ b/CliClient/app/app-gui.js @@ -79,7 +79,7 @@ class AppGui { reg.setupRecurrentSync(); DecryptionWorker.instance().scheduleStart(); } catch (error) { - this.fullScreen(false); + if (this.term_) { this.fullScreen(false); } console.error(error); process.exit(1); } diff --git a/CliClient/package.json b/CliClient/package.json index 6fe353431..a48e7ce5e 100644 --- a/CliClient/package.json +++ b/CliClient/package.json @@ -70,6 +70,7 @@ "syswide-cas": "^5.2.0", "tar": "^4.4.10", "tcp-port-used": "^0.1.2", + "terminal-kit": "^1.30.0", "tkwidgets": "^0.5.26", "url-parse": "^1.4.7", "uuid": "^3.0.1",