Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2673)

Issue 13704043: code review 13704043: go.crypto/ssh/terminal: support Unicode entry. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by agl1
Modified:
10 years, 7 months ago
Reviewers:
rsc
CC:
golang-dev, rsc
Visibility:
Public.

Description

go.crypto/ssh/terminal: support Unicode entry. Previously, terminal only supported ASCII characters. This change alters some []byte to []rune so that the full range of Unicode is supported. The only thing that doesn't appear to work correctly are grapheme clusters as the code still assumes one rune per glyph. Still, this change allows many more languages to work than did previously.

Patch Set 1 #

Patch Set 2 : diff -r 4119545f658f https://code.google.com/p/go.crypto/ #

Patch Set 3 : diff -r 84f83fa76088 https://code.google.com/p/go.crypto/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -36 lines) Patch
M ssh/terminal/terminal.go View 1 17 chunks +46 lines, -36 lines 0 comments Download
M ssh/terminal/terminal_test.go View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4
agl1
10 years, 7 months ago (2013-09-13 18:07:35 UTC) #1
rsc
LGTM
10 years, 7 months ago (2013-09-13 18:19:52 UTC) #2
agl1
Hello golang-dev@googlegroups.com, rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.crypto/
10 years, 7 months ago (2013-09-13 18:32:58 UTC) #3
agl1
10 years, 7 months ago (2013-09-13 18:33:08 UTC) #4
*** Submitted as
https://code.google.com/p/go/source/detail?r=ff9ce887b46b&repo=crypto ***

go.crypto/ssh/terminal: support Unicode entry.

Previously, terminal only supported ASCII characters. This change
alters some []byte to []rune so that the full range of Unicode is
supported. The only thing that doesn't appear to work correctly are
grapheme clusters as the code still assumes one rune per glyph. Still,
this change allows many more languages to work than did previously.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/13704043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b