Skip to content

Commit

Permalink
Merge pull request #5282 from si458/fix-mobile-ssh-utf8
Browse files Browse the repository at this point in the history
fix mobile ssh utf8
  • Loading branch information
Ylianst authored Aug 15, 2023
2 parents be5bfdd + c19d2c5 commit bd26ec3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion views/default-mobile.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -4932,7 +4932,9 @@
case 'sessionerror': { p12setConsoleMsg("Session expired", 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)); }
}
}
}
Expand Down

0 comments on commit bd26ec3

Please sign in to comment.