Browse code

Removed unused macro in console example

neauoire authored on 17/08/2021 01:45:27
Showing 2 changed files
... ...
@@ -4,8 +4,6 @@
4 4
 	Copies data from stdin to both stdout and stderr.
5 5
 )
6 6
 
7
-%RTN { JMP2r }
8
-
9 7
 |10 @Console [ &vector $2 &read $1 &pad $5 &write $1 &error $1 ]
10 8
 
11 9
 ( init )
... ...
@@ -20,7 +18,6 @@ BRK
20 18
 
21 19
 	.Console/read DEI
22 20
 	DUP .Console/write DEO
23
-	.Console/error DEO
21
+		.Console/error DEO
24 22
 
25 23
 BRK
26
-
... ...
@@ -133,7 +133,7 @@ static void
133 133
 run(Uxn *u)
134 134
 {
135 135
 	uxn_eval(u, PAGE_PROGRAM);
136
-	while(read(0, &devconsole->dat[0x2], 1) > 0) 
136
+	while(read(0, &devconsole->dat[0x2], 1) > 0)
137 137
 		uxn_eval(u, mempeek16(devconsole->dat, 0));
138 138
 }
139 139