Support wide characters and combining characters

This commit is contained in:
Keith Winstein
2011-01-22 04:58:01 -05:00
parent d189b2af36
commit cfd279fa25
4 changed files with 37 additions and 11 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ void Emulator::CSI_cursormove( void )
if ( cursor_row < 0 ) cursor_row = 0;
if ( cursor_row >= height ) cursor_row = height - 1;
if ( cursor_col < 0 ) cursor_col = 0;
if ( cursor_col >= width ) cursor_col = width;
if ( cursor_col >= width ) cursor_col = width - 1;
newgrapheme();
}