about summary refs log tree commit diff stats
path: root/apps/tile
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-14 22:29:34 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-14 22:29:34 -0800
commitcbe8bfd87a4273993647ecdcd821e59521122c57 (patch)
tree3028c950b9ff0ea37455614aab5a3939b80210cf /apps/tile
parent8c2e580e0ff80cf30b807d3ce17076a9ac2c0c25 (diff)
downloadmu-cbe8bfd87a4273993647ecdcd821e59521122c57.tar.gz
7354 - tile: stop trying to center menu
Diffstat (limited to 'apps/tile')
-rw-r--r--apps/tile/environment.mu22
1 files changed, 7 insertions, 15 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index d1c198c3..3517e0ef 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -1934,11 +1934,7 @@ fn render-function-menu _env: (addr environment) {
   start-reverse-video screen
   print-string screen, " ctrl-q "
   reset-formatting screen
-  print-string screen, " quit "
-  var sep-col/ecx: (addr int) <- get env, code-separator-col
-  var menu-start/ebx: int <- copy *sep-col
-  menu-start <- subtract 0x30  # 48 = half the size of the menu
-  move-cursor screen, *nrows, menu-start
+  print-string screen, " quit     "
   start-reverse-video screen
   print-string screen, " ctrl-a "
   reset-formatting screen
@@ -1954,7 +1950,7 @@ fn render-function-menu _env: (addr environment) {
   start-reverse-video screen
   print-string screen, " ctrl-e "
   reset-formatting screen
-  print-string screen, " ⏭         "
+  print-string screen, " ⏭       "
   start-reverse-video screen
   print-string screen, " ctrl-g "
   reset-formatting screen
@@ -1962,7 +1958,7 @@ fn render-function-menu _env: (addr environment) {
   start-reverse-video screen
   print-string screen, " tab "
   reset-formatting screen
-  print-string screen, " go to sandbox  "
+  print-string screen, " go to sandbox"
 }
 
 fn render-sandbox-menu _env: (addr environment) {
@@ -1975,11 +1971,7 @@ fn render-sandbox-menu _env: (addr environment) {
   start-reverse-video screen
   print-string screen, " ctrl-q "
   reset-formatting screen
-  print-string screen, " quit "
-  var sep-col/ecx: (addr int) <- get env, code-separator-col
-  var menu-start/ebx: int <- copy *sep-col
-  menu-start <- subtract 0x48  # 72 = half the size of the menu
-  move-cursor screen, *nrows, menu-start
+  print-string screen, " quit     "
   start-reverse-video screen
   print-string screen, " ctrl-a "
   reset-formatting screen
@@ -1995,11 +1987,11 @@ fn render-sandbox-menu _env: (addr environment) {
   start-reverse-video screen
   print-string screen, " ctrl-e "
   reset-formatting screen
-  print-string screen, " ⏭         "
+  print-string screen, " ⏭       "
   start-reverse-video screen
   print-string screen, " ctrl-g "
   reset-formatting screen
-  print-string screen, " go  "
+  print-string screen, " go to function     "
   start-reverse-video screen
   print-string screen, " ctrl-l "
   reset-formatting screen
@@ -2015,7 +2007,7 @@ fn render-sandbox-menu _env: (addr environment) {
   start-reverse-video screen
   print-string screen, " ctrl-d "
   reset-formatting screen
-  print-string screen, " define function  "
+  print-string screen, " define function"
 }
 
 fn clear-canvas _env: (addr environment) {
00.mu?h=main&id=91dc5814dfeac0ad072c840ac52b1e68321fd39f'>91dc5814 ^
c5a3f655 ^









b8d613e7 ^
c5a3f655 ^
b8d613e7 ^
91dc5814 ^




c5a3f655 ^
91dc5814 ^




c5a3f655 ^
01b72aa0 ^

91dc5814 ^

01b72aa0 ^
e2b55208 ^
01b72aa0 ^

e2b55208 ^
b8df5340 ^
c5a3f655 ^

91dc5814 ^


c5a3f655 ^








91dc5814 ^



c5a3f655 ^
91dc5814 ^
c5a3f655 ^
91dc5814 ^
c5a3f655 ^
86a12476 ^
91dc5814 ^

c5a3f655 ^
91dc5814 ^


c5a3f655 ^

91dc5814 ^




6b343a82 ^

91dc5814 ^

c5a3f655 ^
91dc5814 ^

c5a3f655 ^


ae470b42 ^

91dc5814 ^


2d7960d4 ^
5df70f4d ^
c5a3f655 ^


91dc5814 ^
c5a3f655 ^

91dc5814 ^
6b343a82 ^


ae470b42 ^
be2a94d9 ^
0452b05f ^
6b343a82 ^
b8d613e7 ^
6b41ca6d ^

6b343a82 ^







c5a3f655 ^

91dc5814 ^
21387ef5 ^
c5a3f655 ^
492fb278 ^

91dc5814 ^
30012350 ^
91dc5814 ^

71418907 ^

91dc5814 ^

5462619d ^
c79b93ca ^
307745bc ^

6f65b65f ^

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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189