wagoodman / dive

A tool for exploring each layer in a docker image
MIT License
44.55k stars 1.69k forks source link

Stay on filtered node #468

Open ecki opened 11 months ago

ecki commented 11 months ago

What happened: I used Ctrl+f to filter for log and then used tab+cursor down to get to the /var/log entry. then I wanted to see whats inside, so i pressed Ctrl+f again. My cursor and the window was however on a random file and not on /var/log/ anymore

What you expected to happen: Keep the cursor on the selected entry, just show more context.

How to reproduce it (as minimally and precisely as possible): See description above (on the debian base image for example)

Anything else we need to know It does not look like a redraw problem, moving the cursor on the "wrong" entry confirms that dive think it is on that entry.

Environment: