dry
dry copied to clipboard
Container list does not show names if terminal width is too narrow
As container names help (a lot) to identify which container I'm working with, not seeing them as they come last and my terminal is too narrow is a problem.
Could it be possible to ;
- Show the names before the container id (I never understood why this comes first in
docker psas it has no informational value to me) - Have the left and right arrow keys bound to move the buffer just like
ps | less -Swould allow
Very nice interface though, like it a lot.
Great that you like the tool :)
I am not sure how to solve this. I would prefer to keep the container list similar to how docker ps shows information, at least for now.
Moving the buffer with left and right arrows is a good idea, but it will take some time to implement.
What if sorting (F1) will also reorder columns so it shows first the one being used to sort?
That would be acceptable, yes. But won't that surprise users to see columns moving around ?
Yes, you are probably right, it might feel strange.
Not sure how to fix the problem. Ideas and contributions are very welcome :)
It might be a little involved, but how about something like htop, where the columns and their order is actually configurable directly in the tool ?
I would recommend move those to a fixed right menu? Set the main window with a scrollable event. I believe this could be easier than try to create an resize event to break down the bottom list?