mirror of
https://github.com/yudai/gotty.git
synced 2026-01-06 09:38:51 +01:00
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:
parent
d4475579ff
commit
783e3fd925
2 changed files with 4 additions and 2 deletions
|
|
@ -15,6 +15,8 @@
|
|||
|
||||
term = new hterm.Terminal();
|
||||
|
||||
term.getPrefs().set("send-encoding", "raw");
|
||||
|
||||
term.onTerminalReady = function() {
|
||||
var io = term.io.push();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue