forked from Mirrors/bubbletea
fix(examples/file-picker): use `CurrentDirectory` instead of Path
This commit is contained in:
parent
5f7a07b03c
commit
8254e0e472
|
@ -58,7 +58,7 @@ func (m model) View() string {
|
|||
|
||||
func main() {
|
||||
fp := filepicker.New()
|
||||
fp.Path, _ = os.UserHomeDir()
|
||||
fp.CurrentDirectory, _ = os.UserHomeDir()
|
||||
|
||||
m := model{
|
||||
filepicker: fp,
|
||||
|
|
Loading…
Reference in New Issue