-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5fbc475
commit 6d82592
Showing
2 changed files
with
33 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,11 @@ Copyright © 2024 man44 <[email protected]> | |
package cmd | ||
|
||
import ( | ||
// "fmt" | ||
"os" | ||
"strconv" | ||
// "strings" | ||
"time" | ||
|
||
"github.com/hardikkum444/go-do-it/storage" | ||
"github.com/rivo/tview" | ||
// "github.com/gdamore/tcell/v2" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
|
@@ -59,7 +55,7 @@ func createMenuList() *tview.List { | |
AddItem("delete all", "delete all tasks", 'x', func() { | ||
renderDelall() | ||
}). | ||
AddItem("render table", "render tasks table", 'p', func() { | ||
AddItem("render table", "render tasks table", 'r', func() { | ||
renderTable() | ||
}). | ||
AddItem("quit", "quit application", 'q', func() { | ||
|