Skip to content

Commit 977cc91

Browse files
authored
Add foreground color option for selected task in renderTasks (#272)
1 parent f495732 commit 977cc91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/tui/view/task_view.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ func (v *TaskView) renderTasks(tasks []*core.Task, offset, renderbleNum, cursorP
160160
if y == cursorPosition {
161161
opts = []draw.Option{
162162
draw.WithBackgroundColor(v.config.Color.SelectedLine),
163+
draw.WithForegroundColor(v.config.Color.Font),
163164
}
164165
}
165166
tw := runewidth.StringWidth(name)

0 commit comments

Comments
 (0)