narratio/main.go

16 lines
211 B
Go

package main
import (
"code.ewintr.nl/narratio/editor"
)
func main() {
s := editor.NewState()
e := editor.NewEditor(s)
g := editor.NewGUI(s, e.Out(), e.In())
go func() {
e.Out() <- true
}()
g.Run()
}