0950e39f538610172858a5e3b7582a7f5cb1fd64 — Jeffas 3 months ago ee5b537
Show the directory being selected in gray
1 files changed, 3 insertions(+), 0 deletions(-)

M widgets/dirlist.go
M widgets/dirlist.go => widgets/dirlist.go +3 -0
@@ 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)