about summary refs log tree commit diff stats
path: root/http-server.mu
Commit message (Expand)AuthorAgeFilesLines
* 3594Kartik K. Agaram2016-10-251-2/+2
* 3527Kartik K. Agaram2016-10-201-8/+1
* 3510Kartik K. Agaram2016-10-161-37/+0
* 3507Kartik K. Agaram2016-10-161-2/+2
* 3480Kartik K. Agaram2016-10-081-2/+2
* 3479Kartik K. Agaram2016-10-081-0/+72
ay.mu?h=main&id=08f4628e8b858120fe3547d8e5431d9abfe46bf8'>^
6a0f71b9 ^
12d73ee8 ^
bc643692 ^

6a0f71b9 ^
bc643692 ^
12d73ee8 ^
6a0f71b9 ^
0012c703 ^
6a0f71b9 ^
0012c703 ^
6a0f71b9 ^
0012c703 ^
6a0f71b9 ^
0012c703 ^
6a0f71b9 ^
290fe117 ^
54d48b25 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

                                       
          
              
                                               
                                                    
                           
               

                               
                           
                             
                       
                           
                             
                           
                              
                           
                             
                           
                           
                           
               
 
# example program: managing the display

def main [
  open-console
  print-character-to-display 97, 1/red, 2/green
  1:num/raw, 2:num/raw <- cursor-position-on-display
  wait-for-some-interaction
  clear-display
  move-cursor-on-display 0, 4
  print-character-to-display 98
  wait-for-some-interaction
  move-cursor-on-display 0, 0
  clear-line-on-display
  wait-for-some-interaction
  move-cursor-down-on-display
  wait-for-some-interaction
  move-cursor-right-on-display
  wait-for-some-interaction
  move-cursor-left-on-display
  wait-for-some-interaction
  move-cursor-up-on-display
  wait-for-some-interaction
  close-console
]