1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed Windows Terminal.

This commit is contained in:
Ylian Saint-Hilaire 2019-01-31 10:31:45 -08:00
parent c1ac574af7
commit 942c8fc142
47 changed files with 5 additions and 41 deletions

View file

@ -692,7 +692,7 @@ function UserSessions()
tokens = lines[i].split(' ');
for (j = 1; j < tokens.length; ++j)
{
if (tokens[j].length > 0 && (tokens[j] == checkstr || tokens[j] == ('(' + checkstr + ')')))
if (tokens[j].length > 0)
{
return (parseInt(this._users()[tokens[0]]));
}

View file

@ -1,5 +1,5 @@
/*
Copyright 2018-2019 Intel Corporation
Copyright 2018 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -193,6 +193,7 @@ function windows_terminal() {
this.terminal._WriteBuffer(chunk);
flush();
}
return (true);
},
'final': function (flush) {
var p = this.terminal._stop();