From ab24f88a5907c9b309329dcc22a8e7154805d102 Mon Sep 17 00:00:00 2001 From: Kevin Schoon Date: Wed, 31 Jan 2018 18:06:10 -0500 Subject: [PATCH] remove dead code --- types.go | 4 ---- util.go | 7 ------- 2 files changed, 11 deletions(-) diff --git a/types.go b/types.go index 3088f8c..a6d03ca 100644 --- a/types.go +++ b/types.go @@ -34,10 +34,6 @@ const ( PAUSED ) -// RefreshInterval is the frequency at which -// the display is updated. -const RefreshInterval = 800 * time.Millisecond - // Wheel keeps track of an ASCII spinner type Wheel int diff --git a/util.go b/util.go index 99d3f53..a98185d 100644 --- a/util.go +++ b/util.go @@ -1,7 +1,6 @@ package main import ( - "bufio" "fmt" "github.com/fatih/color" "os" @@ -22,12 +21,6 @@ func defaultConfigPath() string { return u.HomeDir + "/.pomo" } -func prompt(text string) { - reader := bufio.NewReader(os.Stdin) - fmt.Println(text) - reader.ReadString('\n') -} - func summerizeTasks(config *Config, tasks []*Task) { for _, task := range tasks { fmt.Printf("%d: [%s] ", task.ID, task.Duration.Truncate(time.Second))