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