mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Merge branch 'anandsudhir-fix-todo-open-file'
This commit is contained in:
commit
dca644d54f
@ -130,7 +130,8 @@ func (widget *Widget) keyboardIntercept(event *tcell.EventKey) *tcell.EventKey {
|
|||||||
return nil
|
return nil
|
||||||
case "o":
|
case "o":
|
||||||
// Open the file
|
// Open the file
|
||||||
wtf.OpenFile(widget.filePath)
|
confDir, _ := cfg.ConfigDir()
|
||||||
|
wtf.OpenFile(fmt.Sprintf("%s/%s", confDir, widget.filePath))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user