diff --git a/projects/examples/devices/console.echo.tal b/projects/examples/devices/console.echo.tal index 0f43476..d0400c1 100644 --- a/projects/examples/devices/console.echo.tal +++ b/projects/examples/devices/console.echo.tal @@ -4,8 +4,6 @@ Copies data from stdin to both stdout and stderr. ) -%RTN { JMP2r } - |10 @Console [ &vector $2 &read $1 &pad $5 &write $1 &error $1 ] ( init ) @@ -20,7 +18,6 @@ BRK .Console/read DEI DUP .Console/write DEO - .Console/error DEO + .Console/error DEO BRK - diff --git a/src/uxncli.c b/src/uxncli.c index ecddb72..1c76d6b 100644 --- a/src/uxncli.c +++ b/src/uxncli.c @@ -133,7 +133,7 @@ static void run(Uxn *u) { uxn_eval(u, PAGE_PROGRAM); - while(read(0, &devconsole->dat[0x2], 1) > 0) + while(read(0, &devconsole->dat[0x2], 1) > 0) uxn_eval(u, mempeek16(devconsole->dat, 0)); }