about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--apps/tile/environment.mu28
1 files changed, 14 insertions, 14 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index 776b4185..5c17a97d 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -1899,20 +1899,6 @@ fn render-column screen: (addr screen), functions: (addr handle function), bindi
   return right-col
 }
 
-fn clear-canvas _env: (addr environment) {
-  var env/esi: (addr environment) <- copy _env
-  var screen-ah/edi: (addr handle screen) <- get env, screen
-  var _screen/eax: (addr screen) <- lookup *screen-ah
-  var screen/edi: (addr screen) <- copy _screen
-  clear-screen screen
-  var nrows/eax: (addr int) <- get env, nrows
-  var sep-col/ecx: (addr int) <- get env, code-separator-col
-  # divider
-  draw-vertical-line screen, 1, *nrows, *sep-col
-  # primitives
-  var dummy/eax: int <- render-primitives screen, *nrows, *sep-col
-}
-
 # wordstar-style cheatsheet of shortcuts
 fn render-menu _env: (addr environment) {
   var env/esi: (addr environment) <- copy _env
@@ -1967,6 +1953,20 @@ fn render-menu _env: (addr environment) {
   print-string screen, " define function  "
 }
 
+fn clear-canvas _env: (addr environment) {
+  var env/esi: (addr environment) <- copy _env
+  var screen-ah/edi: (addr handle screen) <- get env, screen
+  var _screen/eax: (addr screen) <- lookup *screen-ah
+  var screen/edi: (addr screen) <- copy _screen
+  clear-screen screen
+  var nrows/eax: (addr int) <- get env, nrows
+  var sep-col/ecx: (addr int) <- get env, code-separator-col
+  # divider
+  draw-vertical-line screen, 1, *nrows, *sep-col
+  # primitives
+  var dummy/eax: int <- render-primitives screen, *nrows, *sep-col
+}
+
 # return value: top-most row written to
 fn render-primitives screen: (addr screen), bottom-margin-row: int, right-col: int -> _/eax: int {
   # render primitives from the bottom of the screen upward
0200 committer hut <hut@lavabit.com> 2010-09-11 21:02:53 +0200 ranger.py: fixed escape in embedded shellscript' href='/akspecs/ranger/commit/ranger.py?h=v1.9.0b5&id=471fc68047418ec7af877598b19696837ed7750c'>471fc680 ^
63a9639d ^
a2853ab6 ^
63a9639d ^
a2853ab6 ^
8fa87054 ^


a66c4a26 ^

f027adc0 ^
b289f679 ^

5c210a96 ^

3de15ddd ^

fb275079 ^

5c210a96 ^
3d566884 ^
e30d16cb ^
621a1a39 ^
c44b726e ^
465bff73 ^




f8e96a97 ^
b289f679 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56