summaryrefslogtreecommitdiffstats
path: root/ScreensPanel.h
Commit message (Collapse)AuthorAgeFilesLines
* Support dynamic screens with 'top-most' entities beyond processesSohaib Mohamed2023-08-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | This implements our concept of 'dynamic screens' in htop, with a first use-case of pcp-htop displaying things like top-filesystem and top-cgroups under new screen tabs. However the idea is more general than use in pcp-htop and we've paved the way here for us to collectively build mroe general tabular screens in core htop, as well. From the pcp-htop side of things, dynamic screens are configured using text-based configuration files that define the mapping for PCP metrics to columns (and metric instances to rows). Metrics are defined either directly (via metric names) or indirectly via PCP derived metric specifications. Value scaling and the units displayed is automatic based on PCP metric units and data types. This commit represents a collaborative effort of several months, primarily between myself, Nathan and BenBE. Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com> Signed-off-by: Nathan Scott <nathans@redhat.com>
* Minor code formatting consistency fixesBenny Baumann2023-04-111-1/+1
|
* ScreenPanel: handle quitting panel while renamingChristian Göttsche2022-12-161-1/+1
| | | | | | | | | During renaming the ScreenPanel takes ownership of the text value of the screen entries ListItem (via its saved member) and replaces the pointer in the ListItem with a pointer to the ScreenPanel's static text buffer. Restore the ownership, similar to how it's done on ESC. Fixes: #1147
* Make sure License is correctly specified as GNU GPLv2+ in some more file headersDaniel Lange2022-03-141-1/+2
|
* Fix misc styleguide issues and add missing header filesSohaib Mohamed2021-12-071-2/+5
| | | | Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
* Introduce screen tabsHisham Muhammad2021-12-071-0/+49
This is a forward port (by nathans) of Hisham's original code.

© 2014-2024 Faster IT GmbH | imprint | privacy policy