aboutsummaryrefslogtreecommitdiff
path: root/cmd/j1e
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/j1e')
-rw-r--r--cmd/j1e/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/j1e/main.go b/cmd/j1e/main.go
index 934d416..586427e 100644
--- a/cmd/j1e/main.go
+++ b/cmd/j1e/main.go
@@ -3,12 +3,14 @@ package main
//go:generate file2go -in ../../testdata/j1e.bin
import (
+ "os"
+
"dim13.org/j1"
"dim13.org/j1/console"
)
func main() {
- con := console.New()
+ con := console.New(os.Stdout, os.Stdin)
defer con.Stop()
vm := j1.New(con)
vm.LoadBytes(J1eBin)