about summary refs log tree commit diff stats
path: root/apps/tui.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-06-29 19:21:43 -0700
committerKartik Agaram <vc@akkartik.com>2020-06-29 19:21:43 -0700
commit8bd3c2b5a83d9e8b97472311491010d66a7b7584 (patch)
tree02354322b48589ec70da06211433aa36c50d758b /apps/tui.mu
parent6c7f7abdb867084f1e7555105cfa140eae4f6372 (diff)
downloadmu-8bd3c2b5a83d9e8b97472311491010d66a7b7584.tar.gz
6601
Diffstat (limited to 'apps/tui.mu')
-rw-r--r--apps/tui.mu10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/tui.mu b/apps/tui.mu
index cde83b2b..ac92d1fc 100644
--- a/apps/tui.mu
+++ b/apps/tui.mu
@@ -9,12 +9,12 @@ fn main -> exit-status/ebx: int {
   var ncols/ecx: int <- copy 0
   nrows, ncols <- screen-size
   enable-screen-grid-mode
-  move-cursor 5, 35
-  start-color 1, 0x7a
-  start-blinking
+  move-cursor-on-screen 5, 35
+  start-color-on-screen 1, 0x7a
+  start-blinking-on-screen
   print-string-to-screen "Hello world!"
-  reset-formatting
-  move-cursor 6, 35
+  reset-formatting-on-screen
+  move-cursor-on-screen 6, 35
   print-string-to-screen "tty dimensions: "
   print-int32-to-screen nrows
   print-string-to-screen " rows, "