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.
Showing
想要评论请 注册 或 登录