Small fix to MacOS terminal
Ylian Saint-Hilaire committed
Jul 19, 2019 at 12:23 UTC
cf7c63efe52f33df72de2f4880b832dc1fde5ce6
2 files changed
+4
-2
agents/meshcore.js
-1
@@ -995,7 +995,6 @@ function createMeshCore(agent)
995
this.httprequest.process.stdout.pipe(this, { dataTypeSkip: 1 }); // 0 = Binary, 1 = Text.
996
this.pipe(this.httprequest.process.stdin, { dataTypeSkip: 1, end: false }); // 0 = Binary, 1 = Text.
997
this.prependListener('end', function () { this.httprequest.process.kill(); });
998
- this.httprequest.process.stdin.write("stty erase ^H\nalias ls='ls --color=auto'\nclear\n");
998
}
999
1000
// Perform notification if needed. Toast messages may not be supported on all platforms.
views/default-mobile.handlebars
+4
-1
@@ -399,7 +399,7 @@
399
<input type="button" value="Settings" title="Edit remote desktop settings" onkeypress="return false" onkeydown="return false" onclick="showDesktopSettings()">
400
<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">
401
<input id="DeskCAD" type="button" value="CtrlAltDel" onkeypress="return false" onkeydown="return false" onclick="sendCAD()">
402
- <input id="DeskSoftKeys" type="button" value="Keys" onkeypress="return false" onkeydown="return false" onclick=" toggleSoftKeys(1)">
402
+ <input id="DeskSoftKeys" type="button" value="Keys" onkeypress="return false" onkeydown="return false" onclick="toggleSoftKeys(1)">
403
<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>
404
</div>
405
</div>
@@ -1526,6 +1526,7 @@
1526
//
1527
1528
function ondeskkeypress(e) {
1529
+ toggleSoftKeys(0);
1530
Q('DeskSoftInput').value = '';
1531
setSessionActivity();
1532
if (desktop && !xxdialogMode && xxcurrentView == 10) {
@@ -1543,6 +1544,7 @@
1544
}
1545
1546
function ondeskkeydown(e) {
1547
+ toggleSoftKeys(0);
1548
Q('DeskSoftInput').value = '';
1549
setSessionActivity();
1550
if (desktop && !xxdialogMode && xxcurrentView == 10) {
@@ -1560,6 +1562,7 @@
1562
}
1563
1564
function ondeskkeyup(e) {
1565
+ toggleSoftKeys(0);
1566
Q('DeskSoftInput').value = '';
1567
setSessionActivity();
1568
if (desktop && !xxdialogMode && xxcurrentView == 10) {