summaryrefslogtreecommitdiffstats
path: root/CommandScreen.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'style-header-consistency' of https://github.com/BenBE/htop ↵Nathan Scott2023-10-101-0/+8
|\ | | | | | | into BenBE-style-header-consistency
| * Add missing copyright/file headersBenny Baumann2023-05-251-0/+8
| |
* | Introduce Row and Table classes for screens beyond top-processesNathan Scott2023-08-301-1/+1
|/ | | | | | | | | This commit refactors the Process and ProcessList structures such they each have a new parent - Row and Table, respectively. These new classes handle screen updates relating to anything that could be represented in tabular format, e.g. cgroups, filesystems, etc, without us having to reimplement the display logic repeatedly for each new entity.
* cleaned up includes with iwyumayurdahibhate2021-05-101-1/+1
|
* Make Infoscreens the correct heightDaniel Lange2021-01-111-1/+1
|
* Use variable-length-array instead of small dynamic allocationChristian Göttsche2020-12-201-2/+2
|
* Improving Command display/sortNarendran Gopalakrishnan2020-11-241-2/+2
|
* Embracing branchesBenny Baumann2020-11-021-1/+3
|
* Make all required includes explicitBenny Baumann2020-10-181-8/+7
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann2020-10-161-1/+1
|
* Mark Object instances constChristian Göttsche2020-10-071-1/+1
|
* limit max screen title length to window widthryenus2020-10-051-8/+1
| | | | Applies screen title truncating to all InfoScreen classes.
* command screen: fill current line when scanningryenus2020-09-291-9/+9
|
* show selected command wrapped in a separate windowryenus2020-09-241-0/+74
For a process with a very long command, especially with many long command line arguments, inspecting the command and its arguments could become inconvenient. Meanwhile htop supports the concept of "screen", or window, which is extended here to create a dedicated "CommandScreen", making it possible to display the command of the selected process in a separate window meanwhile being wrapped into multiple lines. Another benefit of using a command screen is, the user can navigate through the wrapped lines of the command and perform actions like searching and filtering.

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