Skip to content

Commit dca644d

Browse files
author
Chris Cummer
committed
Merge branch 'anandsudhir-fix-todo-open-file'
2 parents c705297 + 455fcff commit dca644d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

todo/widget.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ func (widget *Widget) keyboardIntercept(event *tcell.EventKey) *tcell.EventKey {
130130
return nil
131131
case "o":
132132
// Open the file
133-
wtf.OpenFile(widget.filePath)
133+
confDir, _ := cfg.ConfigDir()
134+
wtf.OpenFile(fmt.Sprintf("%s/%s", confDir, widget.filePath))
134135
return nil
135136
}
136137

0 commit comments

Comments
 (0)