mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-12 14:11:50 +09:00
tvdos kernel to support unicode print, and hangul kernel module to demo the unicode support
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user