Example #1
0
func main() {
	screen.Init()

	e := editor.New()
	e.Draw()
	screen.Refresh()

	go screen.WaitForInput(e.Command)
	e.MainLoop()
	screen.Close()
}
Example #2
0
func Load() {
	screen.Init()
	screen.Clear()
	screen.PrintStr("Hello world!")
}