Skip to content

Commit

Permalink
Merge pull request #175 from hatappi/change-task-name-prefix
Browse files Browse the repository at this point in the history
Change task name prefix to consecutive numbers
  • Loading branch information
hatappi authored May 5, 2023
2 parents c9bedd4 + 66c3e26 commit e6ffcc0
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 e6ffcc0

Please sign in to comment.