Skip to content

Commit 30140a1

Browse files
committed
fix: use of deprecated method
Signed-off-by: Carlos A Becker <[email protected]>
1 parent d6a8349 commit 30140a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wishlist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var (
2525
// NewListing creates a new listing model for the given endpoints and SSH session.
2626
// If session is nil, it is assume to be a local listing.
2727
func NewListing(endpoints []*Endpoint, client SSHClient) *ListModel {
28-
l := list.NewModel(nil, list.NewDefaultDelegate(), 0, 0)
28+
l := list.New(nil, list.NewDefaultDelegate(), 0, 0)
2929
l.Title = "Directory Listing"
3030
l.AdditionalShortHelpKeys = func() []key.Binding {
3131
return []key.Binding{enter}

0 commit comments

Comments
 (0)