diff options
Diffstat (limited to 'screen.mu')
-rw-r--r-- | screen.mu | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/screen.mu b/screen.mu index cacb8eaf..6565b46d 100644 --- a/screen.mu +++ b/screen.mu @@ -7,21 +7,21 @@ recipe main [ switch-to-display print-character 0:literal/screen, 97:literal, 2:literal/red 1:number/raw, 2:number/raw <- cursor-position 0:literal/screen - wait-for-key 0:literal/keyboard + wait-for-event 0:literal/console clear-screen 0:literal/screen move-cursor 0:literal/screen, 0:literal/row, 4:literal/column print-character 0:literal/screen, 98:literal - wait-for-key 0:literal/keyboard + wait-for-event 0:literal/console move-cursor 0:literal/screen, 0:literal/row, 0:literal/column clear-line 0:literal/screen - wait-for-key 0:literal/keyboard + wait-for-event 0:literal/console cursor-down 0:literal/screen - wait-for-key 0:literal/keyboard + wait-for-event 0:literal/console cursor-right 0:literal/screen - wait-for-key 0:literal/keyboard + wait-for-event 0:literal/console cursor-left 0:literal/screen - wait-for-key 0:literal/keyboard + wait-for-event 0:literal/console cursor-up 0:literal/screen - wait-for-key 0:literal/keyboard + wait-for-event 0:literal/console return-to-console ] |