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() }