Add warning on ssh terminal

This commit is contained in:
WebFreak001 2016-02-23 17:38:38 +01:00
commit e7b3389f4b

View file

@ -75,6 +75,9 @@ export class MI2 extends EventEmitter implements IBackend {
this.isSSH = true;
this.sshReady = false;
this.sshConn = new Client();
if(separateConsole !== undefined)
this.log("stderr", "WARNING: Output to terminal emulators are not supported over SSH");
if (args.forwardX11) {
this.sshConn.on("x11", (info, accept, reject) => {