diff options
author | Fredrik Gustafsson <[email protected]> | 2013-04-15 14:57:29 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-04-15 14:57:29 +0200 |
commit | ddaceaee63160599512f31e4b1dca9c8a6998ff3 (patch) | |
tree | c438a9f744a845a933c0874986b517a6cf42ac71 /lib/ssh/src/ssh_cli.erl | |
parent | 74fdfd48d59393b6f0dfb53f343645133675c64b (diff) | |
download | otp-ddaceaee63160599512f31e4b1dca9c8a6998ff3.tar.gz otp-ddaceaee63160599512f31e4b1dca9c8a6998ff3.tar.bz2 otp-ddaceaee63160599512f31e4b1dca9c8a6998ff3.zip |
ssh: unicode adaptions
Diffstat (limited to 'lib/ssh/src/ssh_cli.erl')
-rw-r--r-- | lib/ssh/src/ssh_cli.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_cli.erl b/lib/ssh/src/ssh_cli.erl index 0531ad7830..69b1ab186f 100644 --- a/lib/ssh/src/ssh_cli.erl +++ b/lib/ssh/src/ssh_cli.erl @@ -230,11 +230,11 @@ io_request({window_change, OldTty}, Buf, Tty) -> io_request({put_chars, Cs}, Buf, Tty) -> put_chars(bin_to_list(Cs), Buf, Tty); io_request({put_chars, unicode, Cs}, Buf, Tty) -> - put_chars([Ch || Ch <- unicode:characters_to_list(Cs,unicode), Ch =< 255], Buf, Tty); + put_chars(unicode:characters_to_list(Cs,unicode), Buf, Tty); io_request({insert_chars, Cs}, Buf, Tty) -> insert_chars(bin_to_list(Cs), Buf, Tty); io_request({insert_chars, unicode, Cs}, Buf, Tty) -> - insert_chars([Ch || Ch <- unicode:characters_to_list(Cs,unicode), Ch =< 255], Buf, Tty); + insert_chars(unicode:characters_to_list(Cs,unicode), Buf, Tty); io_request({move_rel, N}, Buf, Tty) -> move_rel(N, Buf, Tty); io_request({delete_chars,N}, Buf, Tty) -> |