tvdos kernel to support unicode print, and hangul kernel module to demo the unicode support

This commit is contained in:
minjaesong
2021-12-24 11:30:55 +09:00
parent 229cc78eb6
commit c802c46f90
8 changed files with 75 additions and 20 deletions

View File

@@ -393,7 +393,7 @@ function println(s) {
if (s === undefined)
sys.print("\n");
else
sys.println(s);
print(s+"\n");
}
function printerr(s) {
print("\x1B[31m"+s+"\x1B[m");
@@ -440,7 +440,7 @@ con.mvaddch = function(y, x, c) {
con.move(y, x); con.addch(c);
};
con.getmaxyx = function() {
return graphics.getTermDimension();
return graphics.getTermDimension(); // [rows, cols]
};
con.getyx = function() {
return graphics.getCursorYX();