Don't translate input

When `send-encoding` is `utf-8`, hterm translate input from the
clipboard from UTF-16 to UTF-8, even when the input is indeed UTF-8.
This translation messes up all non ASCII input.
This commit is contained in:
Iwasaki Yudai 2015-08-25 11:23:38 +09:00
parent d4475579ff
commit 783e3fd925
2 changed files with 4 additions and 2 deletions

View file

@ -15,6 +15,8 @@
term = new hterm.Terminal();
term.getPrefs().set("send-encoding", "raw");
term.onTerminalReady = function() {
var io = term.io.push();