Update startup output.
This commit is contained in:
parent
72d0d21e18
commit
10d8c67a68
1 changed files with 5 additions and 2 deletions
|
@ -68,9 +68,12 @@ func main() {
|
||||||
|
|
||||||
// initialize the mode variable
|
// initialize the mode variable
|
||||||
mode := config.GetModes()[0]
|
mode := config.GetModes()[0]
|
||||||
logger.Logf("Initial mode set to '%s'", mode)
|
|
||||||
|
|
||||||
fmt.Println("Joyful Running! Press Ctrl+C to quit.")
|
fmt.Println("Joyful Running! Press Ctrl+C to quit. Press Enter to reload rules.")
|
||||||
|
if len(config.GetModes()) > 1 {
|
||||||
|
logger.Logf("Initial mode set to '%s'", mode)
|
||||||
|
}
|
||||||
|
|
||||||
for {
|
for {
|
||||||
// Get an event (blocks if necessary)
|
// Get an event (blocks if necessary)
|
||||||
channelEvent := <-eventChannel
|
channelEvent := <-eventChannel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue