rudimentary and perhaps broken LESS impl

This commit is contained in:
minjaesong
2020-11-13 14:51:51 +09:00
parent d0f46b89d7
commit 3a26e3dde7
5 changed files with 103 additions and 0 deletions

View File

@@ -395,6 +395,7 @@ con.color_pair = function(fore, back) { // 0..255
con.clear = function() {
print(String.fromCharCode(27,91)+"2J");
};
// @params arg 0 to hide, nonzero to show
con.curs_set = function(arg) {
print(String.fromCharCode(27,91)+"?25"+(((arg|0) == 0) ? "l" : "h"));
};