Skip to content

Commit

Permalink
Change task name prefix to consecutive numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
hatappi committed May 5, 2023
1 parent c9bedd4 commit 66c3e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/task/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (c *IClient) renderTasks(tasks Tasks, offset, limit, cursorPosition int) {
w, h := c.screenClient.ScreenSize()

for y, t := range tasks[offset:limit] {
name := fmt.Sprintf("%3d. %s", y+1, t.Name)
name := fmt.Sprintf("%3d: %s", offset+y+1, t.Name)
opts := []draw.Option{}
if y == cursorPosition {
opts = []draw.Option{
Expand Down

0 comments on commit 66c3e26

Please sign in to comment.