mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-12 14:11:50 +09:00
making con.color_pair to not use ANSI escape sequences which made fsh to run blazingly fast
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user