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))