TUI: Tab opens <cwd>/todo.txt (project root) instead of .pi/dashboard/tasks/
This commit is contained in:
2
main.go
2
main.go
@@ -644,7 +644,7 @@ func openTuxedo(m model) tea.Cmd {
|
|||||||
agent = m.view[row]
|
agent = m.view[row]
|
||||||
haveAgent = true
|
haveAgent = true
|
||||||
if agent.Cwd != "" {
|
if agent.Cwd != "" {
|
||||||
todoPath = agent.Cwd + "/.pi/dashboard/tasks/todo.txt"
|
todoPath = filepath.Join(agent.Cwd, "todo.txt")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user