mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
Small fix to MacOS terminal
This commit is contained in:
parent
e8ecc02e66
commit
912cd74fd6
@ -995,7 +995,6 @@ function createMeshCore(agent)
|
||||
this.httprequest.process.stdout.pipe(this, { dataTypeSkip: 1 }); // 0 = Binary, 1 = Text.
|
||||
this.pipe(this.httprequest.process.stdin, { dataTypeSkip: 1, end: false }); // 0 = Binary, 1 = Text.
|
||||
this.prependListener('end', function () { this.httprequest.process.kill(); });
|
||||
this.httprequest.process.stdin.write("stty erase ^H\nalias ls='ls --color=auto'\nclear\n");
|
||||
}
|
||||
|
||||
// Perform notification if needed. Toast messages may not be supported on all platforms.
|
||||
|
@ -399,7 +399,7 @@
|
||||
<input type="button" value="Settings" title="Edit remote desktop settings" onkeypress="return false" onkeydown="return false" onclick="showDesktopSettings()">
|
||||
<input type="button" title="Change the power state of the remote machine" onkeypress="return false" onkeydown="return false" value="Power Actions..." onclick="showPowerActionDlg()" style="display:none">
|
||||
<input id="DeskCAD" type="button" value="CtrlAltDel" onkeypress="return false" onkeydown="return false" onclick="sendCAD()">
|
||||
<input id="DeskSoftKeys" type="button" value="Keys" onkeypress="return false" onkeydown="return false" onclick=" toggleSoftKeys(1)">
|
||||
<input id="DeskSoftKeys" type="button" value="Keys" onkeypress="return false" onkeydown="return false" onclick="toggleSoftKeys(1)">
|
||||
<label><span id="DeskControlSpan" style="display:none" title="Toggle mouse and keyboard input"><input id="DeskControl" type="checkbox" onkeypress="return false" onkeydown="return false">Input</span></label>
|
||||
</div>
|
||||
</div>
|
||||
@ -1526,6 +1526,7 @@
|
||||
//
|
||||
|
||||
function ondeskkeypress(e) {
|
||||
toggleSoftKeys(0);
|
||||
Q('DeskSoftInput').value = '';
|
||||
setSessionActivity();
|
||||
if (desktop && !xxdialogMode && xxcurrentView == 10) {
|
||||
@ -1543,6 +1544,7 @@
|
||||
}
|
||||
|
||||
function ondeskkeydown(e) {
|
||||
toggleSoftKeys(0);
|
||||
Q('DeskSoftInput').value = '';
|
||||
setSessionActivity();
|
||||
if (desktop && !xxdialogMode && xxcurrentView == 10) {
|
||||
@ -1560,6 +1562,7 @@
|
||||
}
|
||||
|
||||
function ondeskkeyup(e) {
|
||||
toggleSoftKeys(0);
|
||||
Q('DeskSoftInput').value = '';
|
||||
setSessionActivity();
|
||||
if (desktop && !xxdialogMode && xxcurrentView == 10) {
|
||||
|
Loading…
Reference in New Issue
Block a user