wagoodman / dive

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

Add scrolling to layers pane #478

Open moaimullet opened 9 months ago

moaimullet commented 9 months ago

Hi,

I made some changes to handle scrolling when the Layers section is active. I learned Go while doing this so I probably did not do everything The Right Way (tm).. You may need to rewrite some of it (not sure if the extra Buffer is needed in LayerSetState for instance). But it seems to work fine.

Regards, Teague

Related issue: #469

rroblik commented 6 months ago

Any news about it ? Latest docker image still have the issue :(

mark2185 commented 6 months ago

@rroblik build #473 from source, dive hasn't had a new release for a while.

rroblik commented 6 months ago

Thanks Luka,

Sorry but I don't find the "how to do" such build, do you have any help link ?

Thanks

mark2185 commented 6 months ago

@rroblik currently the simplest way to do it would to have golang installed, clone the repo (and checkout that branch), cd into it and run go run main.go <name-of-your-docker-image>.