Skip to content

Commit

Permalink
Don't translate input
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yudai committed Aug 25, 2015
1 parent d447557 commit 783e3fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/resource.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions resources/gotty.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

term = new hterm.Terminal();

term.getPrefs().set("send-encoding", "raw");

term.onTerminalReady = function() {
var io = term.io.push();

Expand Down

0 comments on commit 783e3fd

Please sign in to comment.