remove dead code

This commit is contained in:
Kevin Schoon 2018-01-31 18:06:10 -05:00
parent 7f0df49878
commit ab24f88a59
2 changed files with 0 additions and 11 deletions

View File

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

View File

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