Make modeless operation work more cleanly / remove implicit "main" mode.
This commit is contained in:
parent
acba227843
commit
288a07eb73
3 changed files with 7 additions and 4 deletions
|
@ -81,7 +81,7 @@ func main() {
|
|||
logger.Logf("registered %d timers", timerCount)
|
||||
|
||||
// initialize the mode variable
|
||||
mode := "main"
|
||||
mode := config.GetModes()[0]
|
||||
|
||||
fmt.Println("Joyful Running! Press Ctrl+C to quit.")
|
||||
for {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue