aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/dirlist.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go
index c5e4a0c..0a6113a 100644
--- a/widgets/dirlist.go
+++ b/widgets/dirlist.go
@@ -126,6 +126,9 @@ func (dirlist *DirectoryList) Draw(ctx *ui.Context) {
style := tcell.StyleDefault
if name == dirlist.selected {
style = style.Reverse(true)
+ } else if name == dirlist.selecting {
+ style = style.Reverse(true)
+ style = style.Foreground(tcell.ColorGray)
}
ctx.Fill(0, row, ctx.Width(), 1, ' ', style)
ctx.Printf(0, row, style, "%s", name)