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() {
|
func main() {
|
||||||
fp := filepicker.New()
|
fp := filepicker.New()
|
||||||
fp.Path, _ = os.UserHomeDir()
|
fp.CurrentDirectory, _ = os.UserHomeDir()
|
||||||
|
|
||||||
m := model{
|
m := model{
|
||||||
filepicker: fp,
|
filepicker: fp,
|
||||||
|
|||||||
Reference in New Issue
Block a user