aboutsummaryrefslogtreecommitdiff
path: root/cmd/j1e/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-01-27 03:58:08 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-01-27 03:58:08 +0100
commit736fbaeaba9c57b2f624a42808fc524f306b1591 (patch)
tree26752dd8097c234ae956e70be92f9cb14003f795 /cmd/j1e/main.go
parentd7c2fb9d4723464067d501d8e45fc7f9b0fc60fe (diff)
export rw
Diffstat (limited to 'cmd/j1e/main.go')
-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)