mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
fix(examples/file-picker): use CurrentDirectory instead of Path
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user