mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 04:42:54 -05:00
Fixed Windows Terminal.
This commit is contained in:
@@ -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]]));
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user