mirror of
https://github.com/charmbracelet/gum
synced 2024-05-10 02:06:36 +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.CurrentDirectory = path
|
||||
fp.Path = path
|
||||
fp.Height = o.Height
|
||||
fp.AutoHeight = o.Height == 0
|
||||
|
|
Loading…
Reference in a new issue