graydon/rust — pull request #1470 by grahame (2012-01-08 16:40:10+00:00)
Title: add new read_chars method, fix bug in read_char

having a read_chars method is convenient and more efficient.

the old read_char method had a bug due to re-use of the 'w' width
variable as a loop counter and so was broken for wide characters,
this patch fixes that.

[ sorry for all the spam, a bit of a newbie to contributing via github ]