about summary refs log tree commit diff stats
path: root/mouse.mu
blob: 0621b306b594865945c755a943bbb952dca7b04c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# example program: managing the display

recipe main [
  switch-to-display
  {
    _, found?:boolean <- read-keyboard-or-mouse-event
    break-if found?:boolean
    loop
  }
  return-to-console
]