diff --git a/widgets/dirlist.go b/widgets/dirlist.go index d66ae1f..58108ff 100644 --- a/widgets/dirlist.go +++ b/widgets/dirlist.go @@ -65,7 +65,7 @@ func (dirlist *DirectoryList) Select(name string) { switch msg.(type) { case *types.Error: dirlist.selecting = "" - default: + case *types.Done: dirlist.selected = dirlist.selecting } dirlist.Invalidate()