making con.color_pair to not use ANSI escape sequences which made fsh to run blazingly fast

This commit is contained in:
minjaesong
2022-05-08 20:43:25 +09:00
parent c05b973505
commit 979b11b1df
2 changed files with 14 additions and 3 deletions

View File

@@ -35,6 +35,14 @@ class GraphicsJSR223Delegate(val vm: VM) {
}
}
fun setTextFore(b: Int) {
getFirstGPU()?.let { it.ttyFore = b }
}
fun setTextBack(b: Int) {
getFirstGPU()?.let { it.ttyBack = b }
}
/*fun loadBulk(fromAddr: Int, toAddr: Int, length: Int) {
getFirstGPU()?._loadbulk(fromAddr, toAddr, length)
}