From 1e2e94ba4d8ab7c36f5ea5db2655c6028ef41e50 Mon Sep 17 00:00:00 2001 From: mollusk Date: Tue, 2 Jan 2018 03:17:33 -0700 Subject: [PATCH] flatface.go:Fixed useless rest of newline characters --- flatface.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flatface.go b/flatface.go index e3f02a6..13e5ca8 100644 --- a/flatface.go +++ b/flatface.go @@ -59,6 +59,7 @@ func listPak() { fmt.Print("\n", "Results for ", ": \n\n", string(out), "\n\n") } +//// TODO /* func optionsMenu() { var choice string @@ -78,18 +79,18 @@ func updatePak() { if err != nil { log.Fatalf("cmd.Run() failed with %s\n", err) } - fmt.Print("\n", "\n\n", string(out), "\n\n") + fmt.Print(string(out)) } func checkRepo() { - print("\nSyncing repos...\n\n") + print("\nSyncing repos...\n") cmd := exec.Command("flatpak", "remote-add", "--if-not-exists", "flathub", "https://flathub.org/repo/flathub.flatpakrepo") out, err := cmd.CombinedOutput() updatePak() if err != nil { log.Fatalf("cmd.Run() failed with %s\n", err) } - fmt.Print("\n", "\n\n", string(out), "\n\n") + fmt.Print(string(out)) } func mainMenu() { print("\n\n| FlatFace v0.0.1a |\n\n")