mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
vital metre mockup
Former-commit-id: c49f7ba80cff854db6d79af1c9d50d77b0bae76d Former-commit-id: bd62a24bfd4c9737e2f23b0bae1756df62a19acf
This commit is contained in:
@@ -71,7 +71,7 @@ internal class Term(globals: Globals, term: Teletype) {
|
||||
class WriteString(val tty: Teletype) : LuaFunction() {
|
||||
override fun call(p0: LuaValue): LuaValue {
|
||||
if (tty is Terminal)
|
||||
tty.writeString(p0.checkIBM437())
|
||||
tty.writeString(p0.checkIBM437(), tty.cursorX, tty.cursorY)
|
||||
else
|
||||
tty.writeChars(p0.checkIBM437())
|
||||
return LuaValue.NONE
|
||||
@@ -89,7 +89,7 @@ internal class Term(globals: Globals, term: Teletype) {
|
||||
class PrintString(val tty: Teletype) : LuaFunction() {
|
||||
override fun call(p0: LuaValue): LuaValue {
|
||||
if (tty is Terminal)
|
||||
tty.printString(p0.checkIBM437())
|
||||
tty.printString(p0.checkIBM437(), tty.cursorX, tty.cursorY)
|
||||
else
|
||||
tty.printChars(p0.checkIBM437())
|
||||
return LuaValue.NONE
|
||||
|
||||
Reference in New Issue
Block a user