mirror of
https://github.com/charmbracelet/gum
synced 2024-05-21 15:46:43 +02:00
fix(file): respect file path specified in arguments
This commit is contained in:
parent
0f0f8e9189
commit
066c79fa14
|
@ -29,6 +29,7 @@ func (o Options) Run() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
fp := filepicker.New()
|
fp := filepicker.New()
|
||||||
|
fp.CurrentDirectory = path
|
||||||
fp.Path = path
|
fp.Path = path
|
||||||
fp.Height = o.Height
|
fp.Height = o.Height
|
||||||
fp.AutoHeight = o.Height == 0
|
fp.AutoHeight = o.Height == 0
|
||||||
|
|
Loading…
Reference in a new issue