Archived
1
0

Easier access to the super secret code

This commit is contained in:
Jip J. Dekker 2014-10-12 02:34:28 +02:00
parent 646bf0128c
commit fd994cb1e5
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ import (
"os/signal" "os/signal"
) )
// SUPER SECRET CODE
const code int = 14101992
// IT'S A TRAP! (This catches all signals so the program can't be interrupted) // IT'S A TRAP! (This catches all signals so the program can't be interrupted)
func signalCatcher() { func signalCatcher() {
c := make(chan os.Signal) c := make(chan os.Signal)

View File

@ -96,7 +96,7 @@ func showMenu() {
} }
case 2: case 2:
viewEntry() viewEntry()
case 14101992: case code:
clear() clear()
os.Exit(0) os.Exit(0)
} }