mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-24 22:25:52 -05:00
fix mobile ssh utf8
This commit is contained in:
parent
be5bfddc04
commit
c19d2c5dd0
@ -4932,7 +4932,9 @@
|
|||||||
case 'sessionerror': { p12setConsoleMsg("Session expired", 5000); break; }
|
case 'sessionerror': { p12setConsoleMsg("Session expired", 5000); break; }
|
||||||
case 'sessiontimeout': { p12setConsoleMsg("Session timeout", 5000); break; }
|
case 'sessiontimeout': { p12setConsoleMsg("Session timeout", 5000); break; }
|
||||||
}
|
}
|
||||||
} else if (data[0] == '~') { xterm.writeUtf8(data.substring(1)); }
|
} else if (data[0] == '~') {
|
||||||
|
if (xterm.writeUtf8) { xterm.writeUtf8(data.substring(1)); } else { xterm.write(data.substring(1)); }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user