summaryrefslogtreecommitdiffstats
path: root/Settings.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert the vim_mode setting for now, needs a rethinkNathan Scott2020-09-151-2/+0
| | | | | | | | | | | | | There have been too many bugs reported in vim_mode, and the proposed fixes are increasingly fragile - hence we have decided to back it out for now. For reference: https://github.com/htop-dev/htop/issues/69 https://github.com/htop-dev/htop/pull/37 https://github.com/htop-dev/htop/pull/106 The whitespace changes also arrived in commit 12805f61d not sure what that was about, but backed out as well.
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-3/+0
| | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
* Remove superfluous 'extern's from function declarations.Zev Weiss2020-09-031-4/+4
| | | | | | | | Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
* Axe automated header generation.Zev Weiss2020-09-031-2/+0
| | | | | | | | | | | | | | Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
* Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott2020-08-261-0/+3
| | | | bertwesarg-ci-hwloc-job
* Merge branch 'hishamhm-pull-959'Nathan Scott2020-08-201-0/+1
|\
| * Fix whitespaceDaniel Flanagan2019-10-311-1/+1
| |
| * Add simple vim modeDaniel Flanagan2019-10-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a "vim_mode" setting (false/`0` by default) that causes keys to be remapped in the following way by the `ScreenManager`: + h -> LEFT + j -> DOWN + k -> UP + l -> RIGHT + LEFT -> h (toggle help) + DOWN -> j (noop) + UP -> k (open kill menu) + RIGHT -> l (lsof current process) + K (Shift+K) -> k (open kill menu) + J (Shift+J) -> K (toggle show/hide kernel threads) + L (Shift+L) -> l (lsof current process) I couldn't figure out where the manpage documentation is in the repo, though I admittedly did not look particularly hard. I believe this change would be a welcome option for heavy vim users like myself who would like a familiar way to get around in htop.
* | Merge branch 'hishamhm-pull-932'Nathan Scott2020-08-201-0/+2
|\ \
| * | Add a display option to hide CPU usage number from CPU meter.Arnavion2019-08-101-0/+1
| | |
| * | Add new display option to also show CPU frequency in CPU meters.Arnavion2019-08-091-0/+1
| |/ | | | | | | | | | | | | | | The option is only implemented on Linux. On other platforms, and on Linuxes that do not expose the relevant sysfs file, the frequency will be 0. The "CPU average" meter does not show a frequency, only the individual per-CPU meters.
* | Merge branch 'hishamhm-pull-923'Nathan Scott2020-08-201-0/+1
|\ \
| * | Added an option to disable the mouse.MartinJM2019-07-121-1/+2
| |/
* | Merge branch 'hishamhm-pull-960'Nathan Scott2020-08-201-1/+1
|\ \
| * | Clean up existing whitespaceDaniel Flanagan2019-10-311-1/+1
| |/
* / Re-generate all headers with latest scripts/MakeHeader.pyNathan Scott2020-08-181-4/+4
|/ | | | Sync-up missing extern declarations for many functions.
* Merge pull request #148 from nckx/display-basenameHisham Muhammad2015-08-121-0/+1
|\ | | | | [PATCH] New setting: "Show program path"
| * New setting: "Show program path"Tobias Geerinckx-Rice2015-08-071-0/+1
| | | | | | | | | | | | | | | | | | Add a setting to hide all but the last component from the programme path, leaving only the "basename". Makes htop more usable on smaller screens, or systems with longer than average paths. Off by default. "Highlight program basename" will still be respected, to further visually separate process names from their arguments.
* | Update Settings.hHisham Muhammad2015-08-121-0/+1
|/
* Another mega-patch for the refactoring process.Hisham Muhammad2015-01-231-1/+1
| | | | | Kinda runs, but functionality from the original main loop is still missing. Patience.
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-6/+39
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* alignment improvementsHisham Muhammad2014-02-271-1/+1
|
* major header cleanupHisham Muhammad2011-12-261-7/+3
|
* Use strdup explicitlyHisham Muhammad2011-12-251-0/+1
|
* Mega-commit with features and tweaks for 1.0:Hisham Muhammad2011-11-181-1/+1
| | | | | | | | | | | * Performance improvements * Support for splitting CPU meters into two or four columns (thanks to Wim Heirman) * Switch from PLPA, which is now deprecated, to HWLOC. * Bring back support for native Linux sched_setaffinity, so we don't have to use HWLOC where we don't need to. * Support for typing in user names and column fields in selection panels.
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* Tempus fugit.Hisham Muhammad2010-02-251-1/+1
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-4/+2
| | | | | Reduces resulting code size.
* Regenerated all headers.Hisham Muhammad2006-06-061-3/+1
|
* - Overhaul meters implementation;Hisham Muhammad2006-04-101-3/+5
| | | | | | - add AllCPUsMeter; - because of that, the new .htoprc is incompatible with previous released versions.
* Initial import.Hisham Muhammad2006-03-041-0/+39

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