aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/dirlist.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/dirlist.go')
-rw-r--r--widgets/dirlist.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go
index 6a10c99a..25d1e7ff 100644
--- a/widgets/dirlist.go
+++ b/widgets/dirlist.go
@@ -31,6 +31,8 @@ type DirectoryLister interface {
List() []string
ClearList()
+ OnVirtualNode(func())
+
NextPrev(int)
CollapseFolder()
@@ -99,6 +101,9 @@ func (dirlist *DirectoryList) ClearList() {
dirlist.dirs = []string{}
}
+func (dirlist *DirectoryList) OnVirtualNode(_ func()) {
+}
+
func (dirlist *DirectoryList) Update(msg types.WorkerMessage) {
switch msg := msg.(type) {
case *types.Done: