Skip to content

Commit

Permalink
feat: allow cursor option in file (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
radar07 authored Nov 26, 2024
1 parent e3ba400 commit 620e645
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions file/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func (o Options) Run() error {
huh.NewFilePicker().
Picking(true).
CurrentDirectory(path).
Cursor(o.Cursor).

Check failure on line 46 in file/command.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

huh.NewFilePicker().Picking(true).CurrentDirectory(path).Cursor undefined (type *huh.FilePicker has no field or method Cursor)

Check failure on line 46 in file/command.go

View workflow job for this annotation

GitHub Actions / lint-soft

huh.NewFilePicker().Picking(true).CurrentDirectory(path).Cursor undefined (type *huh.FilePicker has no field or method Cursor) (typecheck)

Check failure on line 46 in file/command.go

View workflow job for this annotation

GitHub Actions / lint-soft

huh.NewFilePicker().Picking(true).CurrentDirectory(path).Cursor undefined (type *huh.FilePicker has no field or method Cursor)) (typecheck)

Check failure on line 46 in file/command.go

View workflow job for this annotation

GitHub Actions / nightly / nightly

huh.NewFilePicker().Picking(true).CurrentDirectory(path).Cursor undefined (type *huh.FilePicker has no field or method Cursor)

Check failure on line 46 in file/command.go

View workflow job for this annotation

GitHub Actions / build (macos-latest)

huh.NewFilePicker().Picking(true).CurrentDirectory(path).Cursor undefined (type *huh.FilePicker has no field or method Cursor)

Check failure on line 46 in file/command.go

View workflow job for this annotation

GitHub Actions / lint

huh.NewFilePicker().Picking(true).CurrentDirectory(path).Cursor undefined (type *huh.FilePicker has no field or method Cursor) (typecheck)

Check failure on line 46 in file/command.go

View workflow job for this annotation

GitHub Actions / lint

huh.NewFilePicker().Picking(true).CurrentDirectory(path).Cursor undefined (type *huh.FilePicker has no field or method Cursor)) (typecheck)

Check failure on line 46 in file/command.go

View workflow job for this annotation

GitHub Actions / snapshot / snapshot

huh.NewFilePicker().Picking(true).CurrentDirectory(path).Cursor undefined (type *huh.FilePicker has no field or method Cursor)
DirAllowed(o.Directory).
FileAllowed(o.File).
Height(o.Height).
Expand Down

0 comments on commit 620e645

Please sign in to comment.