You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mop/mop.go

23 lines
492 B

// Copyright (c) 2013 by Michael Dvorkin. All Rights Reserved.
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
package main
import (
"github.com/michaeldv/mop/lib"
"github.com/nsf/termbox-go"
)
12 years ago
//-----------------------------------------------------------------------------
func main() {
12 years ago
profile := mop.LoadProfile()
err := termbox.Init()
if err != nil {
panic(err)
}
defer termbox.Close()
12 years ago
mop.Draw(profile)
mop.Refresh(profile)
}