some text menu thingy

This commit is contained in:
minjaesong
2021-01-29 17:05:34 +09:00
parent 795fa7f85f
commit 6eae250cc0
3 changed files with 103 additions and 4 deletions

View File

@@ -423,6 +423,11 @@ open class GraphicsAdapter(val vm: VM, val config: AdapterConfig, val sgr: Super
else if (arg in 40..47) {
ttyBack = sgrDefault8ColPal[arg - 40]
}
else if (arg == 7) {
val t = ttyFore
ttyFore = ttyBack
ttyBack = t
}
else if (arg == 0) {
ttyFore = TTY_FORE_DEFAULT
ttyBack = TTY_BACK_DEFAULT