diff options
Diffstat (limited to 'client/menu.go')
-rw-r--r-- | client/menu.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/client/menu.go b/client/menu.go deleted file mode 100644 index f6de082..0000000 --- a/client/menu.go +++ /dev/null @@ -1,17 +0,0 @@ -package client - -import "fmt" - -func (s *State) displayMenu() { - menu := s.config.Menus[s.currentMenu] - fmt.Print("\033[2J") // clear the screen - fmt.Printf("%s\n\n", menu.Banner) - if s.login == "" { - fmt.Print("Not logged in.\n\n") - } else { - fmt.Printf("Logged in as: %s\n\n", s.login) - } - for i := 0; i < len(menu.MenuEntries); i++ { - fmt.Printf("%s) %s\n", menu.MenuEntries[i].Key, menu.MenuEntries[i].Label) - } -} |