diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2018-01-27 03:58:08 +0100 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2018-01-27 03:58:08 +0100 |
commit | 736fbaeaba9c57b2f624a42808fc524f306b1591 (patch) | |
tree | 26752dd8097c234ae956e70be92f9cb14003f795 /cmd/j1e/main.go | |
parent | d7c2fb9d4723464067d501d8e45fc7f9b0fc60fe (diff) |
export rw
Diffstat (limited to 'cmd/j1e/main.go')
-rw-r--r-- | cmd/j1e/main.go | 4 |
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) |