Skip to content

Commit e6ffcc0

Browse files
authored
Merge pull request #175 from hatappi/change-task-name-prefix
Change task name prefix to consecutive numbers
2 parents c9bedd4 + 66c3e26 commit e6ffcc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/task/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (c *IClient) renderTasks(tasks Tasks, offset, limit, cursorPosition int) {
131131
w, h := c.screenClient.ScreenSize()
132132

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

0 commit comments

Comments
 (0)