aboutsummaryrefslogtreecommitdiff
path: root/client/menu.go
diff options
context:
space:
mode:
authorJulien Dessaux2021-01-18 11:53:22 +0100
committerJulien Dessaux2021-01-18 11:53:22 +0100
commit2a3b2d1915c17d22c2afb91dbc17029060d12ba7 (patch)
tree8af62051c0ba187c58a525f561c68f824cf69662 /client/menu.go
parentAdded generation of the menu display (diff)
downloadshell-game-launcher-2a3b2d1915c17d22c2afb91dbc17029060d12ba7.tar.gz
shell-game-launcher-2a3b2d1915c17d22c2afb91dbc17029060d12ba7.tar.bz2
shell-game-launcher-2a3b2d1915c17d22c2afb91dbc17029060d12ba7.zip
Removed extra \n after clear screen sequence
Diffstat (limited to '')
-rw-r--r--client/menu.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/menu.go b/client/menu.go
index 773060c..d20b7d0 100644
--- a/client/menu.go
+++ b/client/menu.go
@@ -4,7 +4,7 @@ import "fmt"
func (s *State) displayMenu() {
menu := s.config.Menus[s.currentMenu]
- fmt.Println("\033[2J") // clear the screen
+ fmt.Print("\033[2J") // clear the screen
fmt.Println(menu.Banner)
output := ""
prefix := ""