github ClementTsang/bottom 0.2.0
0.2.0 Release

latest releases: nightly, 0.9.6, 0.9.5...
4 years ago

I've been working on a bunch a bunch of stuff regarding bottom... it might not be that much in retrospect, but it's enough that I'm willing to just bump the entire thing up one minor version!

This update features some new tools, hopefully some optimization improvements, bug fixes, and some changes:

New Features

  • Searching in processes! Ctrl-F or / will open up a search widget allowing you to filter out processes. This search supports regex, whole word matching, and case matching if you want to get fancy with that, too.

    • Tab within the search bar will toggle between searching by PID or process name.

    • Key bindings exist to toggle between case sensitivity, matching the entire word, and enabling regex. Launch flags and config options also exist to enable them when you first launch the search widget (they're all off by default).

    • See more details on usage and keybindings in the README file.

image

  • The option of a config file was added. Config files follow the TOML spec. A sample is provided within the repo.

    • One use is to set boot flags by default. Options are the same as the boot flags, and the names of the option match the full name of each flag.

    • By default this will check, on Linux, ~/.config/btm/btm.toml, and on Windows, ./btm.toml. You can point to a specific config file using -C or --config_file.

    • If no config file is found it runs with stock settings.

    • If flags are used in conjunction with a config file, the flags will override the config file.

    • Another use is to set colour schemes! See the sample config file for an example.

For example, here's what using the config in the repo gives you:
image

  • Think a widget is too small? No problem - press Enter on any widget and it'll take up the entire window!

image

  • Too many CPU cores cluttering up the graph? You can now filter out specific cores from displaying! / on the CPU widget will allow you to enable/disable cores from showing with Space.

image

Changes

  • Default colours were changed for better support on macOS Terminal and PowerShell.

  • Rewrote and refactored how I get data to be less spaghetti. This might also have the added benefit of running better, with less duplicated logic.

  • Changed how the dd dialog and help dialog look. Hopefully they'll be nicer to look at and more intuitive to use!

Bugs squashed

  • Fixed issues where the program would crash if the window was too small, as well as adding a panic handler so terminals won't get all broken if a panic does still occur.

  • Fixed some sizing issues, hopefully this means that it's still readable at smaller sizes (within reason).

  • Fixed scroll issue caused by resizing.

Don't miss a new bottom release

NewReleases is sending notifications on new releases.