diff options
author | Fredrik Gustafsson <[email protected]> | 2013-04-19 16:05:42 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-04-19 16:05:42 +0200 |
commit | 7e9ae3007fd3c44a05a746628983faff401dfd0c (patch) | |
tree | c8cba730c2962b054019dff2b27f53e34af1777b /lib/ssh/src/ssh_cli.erl | |
parent | cabbbf07d03466b6394bda33d9af18d9ceb44bfc (diff) | |
parent | ddaceaee63160599512f31e4b1dca9c8a6998ff3 (diff) | |
download | otp-7e9ae3007fd3c44a05a746628983faff401dfd0c.tar.gz otp-7e9ae3007fd3c44a05a746628983faff401dfd0c.tar.bz2 otp-7e9ae3007fd3c44a05a746628983faff401dfd0c.zip |
Merge branch 'fredrik/ssh/unicode_adapt' into maint
* fredrik/ssh/unicode_adapt:
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) -> |