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
Showing with 50 additions and 36 deletions