aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEyal Sawady <ecs@d2evs.net>2020-12-31 12:16:24 -0500
committerReto Brunner <reto@labrat.space>2021-01-12 20:07:36 +0100
commit7371d91b3ceeab96afef9792c5bf151bd21f590c (patch)
treee6139e974c3705e7e156a9c631cb3702b5f3589e
parent3c14c2cb3494766d39e22c852a6a8f8b965dea92 (diff)
downloadaerc-7371d91b3ceeab96afef9792c5bf151bd21f590c.tar.gz
Apply dirlist style to unselected directories
-rw-r--r--widgets/dirlist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go
index 5711fe40..75a3297f 100644
--- a/widgets/dirlist.go
+++ b/widgets/dirlist.go
@@ -235,7 +235,7 @@ func (dirlist *DirectoryList) Draw(ctx *ui.Context) {
break
}
- style := tcell.StyleDefault
+ style := dirlist.UiConfig().GetStyle(config.STYLE_DIRLIST_DEFAULT)
if name == dirlist.selected {
style = dirlist.UiConfig().GetStyleSelected(config.STYLE_DIRLIST_DEFAULT)
}