htop icon indicating copy to clipboard operation
htop copied to clipboard

Feature Request: Preview in column editor

Open BenBE opened this issue 5 years ago • 3 comments

When reconfiguring the list of displayed columns in the process view it's always somewhat cumbersome to add one column, exit the editor view, look if the display looks/feels like intended, reenter the editor and possibly do the next change.

To improve the UI in this respect it might be a nice idea to include a sample of 2-3 processes/threads at the bottom of the display as a preview of the selected columns and additionally (as space permits) sample values for the various columns you can select for inclusion.

Also for some columns (e.g. cgroup names) it might be good to introduce a somewhat "shortened" version (/sys/cgroup/lxc/container1 -> container1) to safe space.

BenBE avatar Sep 02 '20 09:09 BenBE

I did make a patch for LXC/LXD in the previous repository : https://github.com/hishamhm/htop/issues/328 And created a new issue on the new project and updated the patch to work on 3.0.2 : https://github.com/htop-dev/htop/issues/216

jb-boin avatar Oct 05 '20 15:10 jb-boin

I think these two issues are unrelated to the feature request. Or am I missing something?

BenBE avatar Oct 05 '20 19:10 BenBE

@BenBE: Nope, you got that well. @jb-boin's comment only applies to his patch shortening strings as per the last line of your first comment above.

fasterit avatar Oct 05 '20 20:10 fasterit