about summary refs log tree commit diff stats
path: root/cpp/display.mu
blob: 1b472e7ea847c278112c1ad00ecceb2d8b35998c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
recipe main [
  switch-to-display
  print-character-to-display 97:literal
  1:integer/raw, 2:integer/raw <- cursor-position-on-display
  wait-for-key-from-keyboard
  clear-display
  move-cursor-on-display 0:literal, 4:literal
  print-character-to-display 98:literal
  wait-for-key-from-keyboard
  move-cursor-on-display 0:literal, 0:literal
  clear-line-on-display
  wait-for-key-from-keyboard
  return-to-console
]