Issue 1366: Unicode wide (two-column) characters do not actually fill two columns of the terminal
Status:  Invalid
Owner: ----
Closed:  May 2012
Reported by winst...@gmail.com, Apr 30, 2012
Affected Version: hterm

What steps will reproduce the problem?
1. Resize hterm to 80 columns wide
2. Run: perl -e 'print "\n"; for (1..40) { print "\346\274\242" } print "Hi\n"'

What is the expected output? What do you see instead?
Expected: One entire row of the terminal is filled with 40 copies of a repeated CJK character (漢). The next line is just "Hi" by itself. The next line is the prompt.

hterm: The 40 CJK characters only consume part of the line, and the "Hi" ends up getting printed in the wrong place (at the end of the same line, not on a new line by itself).

This will confuse ncurses-based applications that need a reliable understanding of the terminal's cursor positioning.

Please provide any additional information below.
Apr 30, 2012
#1 winst...@gmail.com
Please delete this bug report. I clicked the wrong "report bug" button.
May 1, 2012
#2 sop@google.com
Wrong project
Status: Invalid