another try at tui

This commit is contained in:
minjaesong
2023-01-10 00:20:23 +09:00
parent 47b3cd0cad
commit edea9648d9
7 changed files with 334 additions and 2 deletions

View File

@@ -495,6 +495,8 @@ con.resetkeybuf = function() {
con.video_reverse = function() {
print("\x1B[7m");
};
con.get_color_fore = function() { return graphics.getTextFore() }
con.get_color_back = function() { return graphics.getTextBack() }
con.color_fore = function(n) { // 0..7; -1 for transparent
if (n < 0)
print("\x1B[38;5;255m");