about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-29 15:59:24 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-29 15:59:24 -0700
commit05fa1791c5ca74ec2c7b7bb3af25b06844676b46 (patch)
treed83ff4e3ea46ed4b0372c0bbf7fd9af62237ab8c
parentff2ee758185781080490851ae7d9e87ec17d851e (diff)
downloadmu-05fa1791c5ca74ec2c7b7bb3af25b06844676b46.tar.gz
6434
-rw-r--r--apps/browse.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/browse.mu b/apps/browse.mu
index 222ac5cd..271d08d8 100644
--- a/apps/browse.mu
+++ b/apps/browse.mu
@@ -2,13 +2,13 @@
 
 fn main args: (addr array (addr array byte)) -> exit-status/ebx: int {
   var filename/eax: (addr array byte) <- first-arg args
-  var file-contents/eax: (addr buffered-file) <- load-file filename
-#?   dump file-contents
+  var file/eax: (addr buffered-file) <- load-file filename
+#?   dump file
 #?   flush-stdout
   enable-screen-grid-mode
   enable-keyboard-immediate-mode
   {
-    render file-contents, 5, 5, 30, 30
+    render file, 5, 5, 30, 30
     var key/eax: byte <- read-key
     compare key, 0x71  # 'q'
     loop-if-!=
:57 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2016-10-22 04:13:57 -0700 3544' href='/akkartik/mu/commit/html/058to_text.cc.html?h=main&id=70f4e9b60d4726d8c42560ec5cf209eb3a33f826'>70f4e9b6 ^
0ca56ed8 ^






e5c11a51 ^






















0ca56ed8 ^


e5c11a51 ^
0ca56ed8 ^
204dae92 ^






201458e3 ^
204dae92 ^

201458e3 ^
fd7d8138 ^
204dae92 ^







201458e3 ^
204dae92 ^

0ca56ed8 ^



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