diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e5d6662..94e65081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,50 +16,63 @@ Versioning for this project is based on [Semantic Versioning](https://semver.org - Minor versions should only contain forward-compatible features/changes. - Major versions may break things. -That said, these are more guidelines rather than hardset rules, though the project will generally try to follow them. +That said, these are more guidelines rather than hard rules, though the project will generally try to follow them. --- +## [0.12.3]/[0.13.0] - Unreleased + ## [0.12.2] - 2025-12-25 ### Bug Fixes -- [#1933](https://github.com/ClementTsang/bottom/pull/1933): Fix a memory leak in Windows while getting process priority information. +- [#1933](https://github.com/ClementTsang/bottom/pull/1933): Fix a memory leak in Windows while getting process priority + information. ## [0.12.1] - 2025-12-25 ### Other -- [#1920](https://github.com/ClementTsang/bottom/pull/1920), [#1921](https://github.com/ClementTsang/bottom/pull/1921): Fix issues with installing via Cargo when locked dependencies aren't used. +- [#1920](https://github.com/ClementTsang/bottom/pull/1920), [#1921](https://github.com/ClementTsang/bottom/pull/1921): + Fix issues with installing via Cargo when locked dependencies aren't used. ## [0.12.0] - 2025-12-25 ### Features - [#1830](https://github.com/ClementTsang/bottom/pull/1830): Add spacebar shortcut to toggle process tree expansion. -- [#1861](https://github.com/ClementTsang/bottom/pull/1861): Add read-only mode, where things like killing processes is disabled. +- [#1861](https://github.com/ClementTsang/bottom/pull/1861): Add read-only mode, where things like killing processes is + disabled. - [#1890](https://github.com/ClementTsang/bottom/pull/1890): Add enter key shortcut to close process search widget. -- [#1881](https://github.com/ClementTsang/bottom/pull/1881): Add nice (UNIX-only) and priority columns to the process widget. +- [#1881](https://github.com/ClementTsang/bottom/pull/1881): Add nice (UNIX-only) and priority columns to the process + widget. ### Bug Fixes -- [#1910](https://github.com/ClementTsang/bottom/pull/1910): Fix a bug around quote parsing in the process widget's search. +- [#1910](https://github.com/ClementTsang/bottom/pull/1910): Fix a bug around quote parsing in the process widget's + search. ### Other -- [#1888](https://github.com/ClementTsang/bottom/pull/1888): Make automatically generated `.deb` package conflict with the official one. +- [#1888](https://github.com/ClementTsang/bottom/pull/1888): Make automatically generated `.deb` package conflict with + the official one. - [#1891](https://github.com/ClementTsang/bottom/pull/1891): Fix typos in codebase. -- [#1896](https://github.com/ClementTsang/bottom/pull/1896): Rename Linux icon to avoid collision with generic "bottom" icon. -- [#1913](https://github.com/ClementTsang/bottom/pull/1913): Add `loongarch64-unknown-linux-gnu` binary build target in CI. -- [#1914](https://github.com/ClementTsang/bottom/pull/1914): Add `aarch64-linux-android` binary build target in CI (with no default features). +- [#1896](https://github.com/ClementTsang/bottom/pull/1896): Rename Linux icon to avoid collision with generic "bottom" + icon. +- [#1913](https://github.com/ClementTsang/bottom/pull/1913): Add `loongarch64-unknown-linux-gnu` binary build target in + CI. +- [#1914](https://github.com/ClementTsang/bottom/pull/1914): Add `aarch64-linux-android` binary build target in CI (with + no default features). ## [0.11.4] - 2025-11-16 ### Bug Fixes - [#1859](https://github.com/ClementTsang/bottom/pull/1859): Ensure average CPU is drawn on top in "All" mode. -- [#1867](https://github.com/ClementTsang/bottom/pull/1867): Fix network graph y-axis height cache not updating correctly. -- [#1867](https://github.com/ClementTsang/bottom/pull/1867): Fix network graph y-axis occasionally starting with a range of zero. +- [#1867](https://github.com/ClementTsang/bottom/pull/1867): Fix network graph y-axis height cache not updating + correctly. +- [#1867](https://github.com/ClementTsang/bottom/pull/1867): Fix network graph y-axis occasionally starting with a range + of zero. ### Other @@ -70,11 +83,13 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Features -- [#1812](https://github.com/ClementTsang/bottom/pull/1812): Add `free_arc` option to subtract ARC from total memory usage. +- [#1812](https://github.com/ClementTsang/bottom/pull/1812): Add `free_arc` option to subtract ARC from total memory + usage. ### Bug Fixes -- [#1833](https://github.com/ClementTsang/bottom/pull/1833): Sort disk I/O using actual value rather than string representation. +- [#1833](https://github.com/ClementTsang/bottom/pull/1833): Sort disk I/O using actual value rather than string + representation. - [#1812](https://github.com/ClementTsang/bottom/pull/1812): Fix ARC collection on FreeBSD. - [#1846](https://github.com/ClementTsang/bottom/pull/1846): Fix displayed average CPU value being wrong in graphs. @@ -94,10 +109,14 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#1800](https://github.com/ClementTsang/bottom/pull/1800): Fix colon at end of process name in Linux. - [#1804](https://github.com/ClementTsang/bottom/pull/1804): Draw average CPU last again. -- [#1811](https://github.com/ClementTsang/bottom/pull/1811): Fix drawing average CPU in basic mode when dedicated row is enabled. -- [#1817](https://github.com/ClementTsang/bottom/pull/1817): Fix builds for FreeBSD on ARM/PowerPC due to `libc::c_char` data type being different. -- [#1821](https://github.com/ClementTsang/bottom/pull/1821): Use alpha version of ratatui version which fixes drawing at high resolutions. -- [#1827](https://github.com/ClementTsang/bottom/pull/1827): Fix crash for Windows where the network widget could cause a crash if the program started too quickly after boot under certain settings. +- [#1811](https://github.com/ClementTsang/bottom/pull/1811): Fix drawing average CPU in basic mode when dedicated row is + enabled. +- [#1817](https://github.com/ClementTsang/bottom/pull/1817): Fix builds for FreeBSD on ARM/PowerPC due to `libc::c_char` + data type being different. +- [#1821](https://github.com/ClementTsang/bottom/pull/1821): Use alpha version of ratatui version which fixes drawing at + high resolutions. +- [#1827](https://github.com/ClementTsang/bottom/pull/1827): Fix crash for Windows where the network widget could cause + a crash if the program started too quickly after boot under certain settings. ### Other @@ -113,62 +132,84 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Other -- [#1779](https://github.com/ClementTsang/bottom/pull/1779), [#1788](https://github.com/ClementTsang/bottom/pull/1788): Speed up time between startup and displaying data. +- [#1779](https://github.com/ClementTsang/bottom/pull/1779), [#1788](https://github.com/ClementTsang/bottom/pull/1788): + Speed up time between startup and displaying data. ## [0.11.0] - 2025-08-05 ### Features -- [#1625](https://github.com/ClementTsang/bottom/pull/1625): Add the ability to configure the disk widget's table columns. -- [#1641](https://github.com/ClementTsang/bottom/pull/1641) + [#1692](https://github.com/ClementTsang/bottom/pull/1692): Support AMD GPU data collection on Linux. +- [#1625](https://github.com/ClementTsang/bottom/pull/1625): Add the ability to configure the disk widget's table + columns. +- [#1641](https://github.com/ClementTsang/bottom/pull/1641) + [#1692](https://github.com/ClementTsang/bottom/pull/1692): + Support AMD GPU data collection on Linux. - [#1642](https://github.com/ClementTsang/bottom/pull/1642): Support changing the widget borders. -- [#1717](https://github.com/ClementTsang/bottom/pull/1717): Support delete key (fn + delete on macOS) to kill processes. -- [#1306](https://github.com/ClementTsang/bottom/pull/1306): Support using left/right key to collapse/expand process trees respectively. +- [#1717](https://github.com/ClementTsang/bottom/pull/1717): Support delete key (fn + delete on macOS) to kill + processes. +- [#1306](https://github.com/ClementTsang/bottom/pull/1306): Support using left/right key to collapse/expand process + trees respectively. - [#1767](https://github.com/ClementTsang/bottom/pull/1767): Add a virtual memory column for processes. -- [#1770](https://github.com/ClementTsang/bottom/pull/1770) (originally [#1627](https://github.com/ClementTsang/bottom/pull/1627)): Add option to have process tree entries be collapsed by default. +- [#1770](https://github.com/ClementTsang/bottom/pull/1770) ( + originally [#1627](https://github.com/ClementTsang/bottom/pull/1627)): Add option to have process tree entries be + collapsed by default. ### Bug Fixes - [#1551](https://github.com/ClementTsang/bottom/pull/1551): Fix missing parent section names in default config. - [#1552](https://github.com/ClementTsang/bottom/pull/1552): Fix typo in default config. -- [#1565](https://github.com/ClementTsang/bottom/pull/1565): Fix issue where CPU usage in basic mode looks weird if core count isn't divisible by four. -- [#1578](https://github.com/ClementTsang/bottom/pull/1578): Fix missing selected text background colour in `default-light` theme. +- [#1565](https://github.com/ClementTsang/bottom/pull/1565): Fix issue where CPU usage in basic mode looks weird if core + count isn't divisible by four. +- [#1578](https://github.com/ClementTsang/bottom/pull/1578): Fix missing selected text background colour in + `default-light` theme. - [#1593](https://github.com/ClementTsang/bottom/pull/1593): Fix using `"none"` for chart legend position in configs. - [#1594](https://github.com/ClementTsang/bottom/pull/1594): Fix incorrect default config definitions for chart legends. - [#1596](https://github.com/ClementTsang/bottom/pull/1596): Fix support for nilfs2 file system. -- [#1660](https://github.com/ClementTsang/bottom/pull/1660): Fix properly cleaning up the terminal if the program is terminated due to an `Err` bubbling to the top. -- [#1663](https://github.com/ClementTsang/bottom/pull/1663): Fix network graphs using log scaling having broken lines when a point was 0. -- [#1667](https://github.com/ClementTsang/bottom/pull/1667): Fix for ARC/SWAP not being hidden in basic mode after refactor. +- [#1660](https://github.com/ClementTsang/bottom/pull/1660): Fix properly cleaning up the terminal if the program is + terminated due to an `Err` bubbling to the top. +- [#1663](https://github.com/ClementTsang/bottom/pull/1663): Fix network graphs using log scaling having broken lines + when a point was 0. +- [#1667](https://github.com/ClementTsang/bottom/pull/1667): Fix for ARC/SWAP not being hidden in basic mode after + refactor. - [#1683](https://github.com/ClementTsang/bottom/pull/1683): Fix graph lines potentially showing up behind legends. - [#1701](https://github.com/ClementTsang/bottom/pull/1701): Fix process kill dialog occasionally causing panics. -- [#1755](https://github.com/ClementTsang/bottom/pull/1755): Fix missing stats/incorrect mount name for certain entries in the disk widget. -- [#1759](https://github.com/ClementTsang/bottom/pull/1759): Fix increment for data tables if the change is greater than the number of entries left. +- [#1755](https://github.com/ClementTsang/bottom/pull/1755): Fix missing stats/incorrect mount name for certain entries + in the disk widget. +- [#1759](https://github.com/ClementTsang/bottom/pull/1759): Fix increment for data tables if the change is greater than + the number of entries left. ### Changes -- [#1559](https://github.com/ClementTsang/bottom/pull/1559): Rename `--enable_gpu` to `--disable_gpu`, and make GPU features enabled by default. -- [#1570](https://github.com/ClementTsang/bottom/pull/1570): Consider `$XDG_CONFIG_HOME` on macOS when looking for a default config path in a backwards-compatible fashion. -- [#1686](https://github.com/ClementTsang/bottom/pull/1686): Allow hyphenated arguments to work as well (e.g. `--autohide-time`). +- [#1559](https://github.com/ClementTsang/bottom/pull/1559): Rename `--enable_gpu` to `--disable_gpu`, and make GPU + features enabled by default. +- [#1570](https://github.com/ClementTsang/bottom/pull/1570): Consider `$XDG_CONFIG_HOME` on macOS when looking for a + default config path in a backwards-compatible fashion. +- [#1686](https://github.com/ClementTsang/bottom/pull/1686): Allow hyphenated arguments to work as well (e.g. + `--autohide-time`). - [#1701](https://github.com/ClementTsang/bottom/pull/1701): Redesign process kill dialog. - [#1706](https://github.com/ClementTsang/bottom/pull/1706): Disable mouse capture when `disable_click` is set. - [#1769](https://github.com/ClementTsang/bottom/pull/1769): Change how we calculate swap usage in Windows. ### Other -- [#1655](https://github.com/ClementTsang/bottom/pull/1655): Better handle NVIDIA GPUs on Linux with only libnvidia-ml.so.1. -- [#1658](https://github.com/ClementTsang/bottom/pull/1658): Make it possible to override completion/manpage generation output directory via env. -- [#1663](https://github.com/ClementTsang/bottom/pull/1663): Rework how data is stored internally, reducing memory usage a bit. +- [#1655](https://github.com/ClementTsang/bottom/pull/1655): Better handle NVIDIA GPUs on Linux with only + libnvidia-ml.so.1. +- [#1658](https://github.com/ClementTsang/bottom/pull/1658): Make it possible to override completion/manpage generation + output directory via env. +- [#1663](https://github.com/ClementTsang/bottom/pull/1663): Rework how data is stored internally, reducing memory usage + a bit. - [#1749](https://github.com/ClementTsang/bottom/pull/1749): Fix invalid desktop file values. ## [0.10.2] - 2024-08-05 ### Features -- [#1487](https://github.com/ClementTsang/bottom/pull/1487): Add option to move the AVG CPU bar to another row in basic mode. +- [#1487](https://github.com/ClementTsang/bottom/pull/1487): Add option to move the AVG CPU bar to another row in basic + mode. ### Bug Fixes -- [#1541](https://github.com/ClementTsang/bottom/pull/1541): Fix some process details not updating for macOS and Windows. +- [#1541](https://github.com/ClementTsang/bottom/pull/1541): Fix some process details not updating for macOS and + Windows. - [#1542](https://github.com/ClementTsang/bottom/pull/1542): Fix confusing process run times being reported on macOS. - [#1543](https://github.com/ClementTsang/bottom/pull/1543): Fix the `--default_cpu_entry` argument not being checked. @@ -176,7 +217,8 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Bug Fixes -- [#1526](https://github.com/ClementTsang/bottom/pull/1526): Fix `--help` description being incorrectly set for a flag, breaking the output. +- [#1526](https://github.com/ClementTsang/bottom/pull/1526): Fix `--help` description being incorrectly set for a flag, + breaking the output. ## [0.10.0] - 2024-08-01 @@ -185,43 +227,50 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#1276](https://github.com/ClementTsang/bottom/pull/1276): Add GPU process info. - [#1353](https://github.com/ClementTsang/bottom/pull/1353): Support selecting the average CPU graph as a default. - [#1373](https://github.com/ClementTsang/bottom/pull/1373): Add support for bcachefs in disk widget. -- [#1430](https://github.com/ClementTsang/bottom/pull/1430): Support controlling the graph legend position for memory and network graph widgets. +- [#1430](https://github.com/ClementTsang/bottom/pull/1430): Support controlling the graph legend position for memory + and network graph widgets. - [#1512](https://github.com/ClementTsang/bottom/pull/1512): Support bold text styling options. - [#1514](https://github.com/ClementTsang/bottom/pull/1514): Support italic text styling options. ### Changes -- [#1276](https://github.com/ClementTsang/bottom/pull/1276): NVIDIA GPU functionality is now tied behind the `--enable_gpu` flag. This will likely be changed in the future. -- [#1344](https://github.com/ClementTsang/bottom/pull/1344): Change the `group` command line-argument to `group_processes` for consistency with the config file option. -- [#1376](https://github.com/ClementTsang/bottom/pull/1376): Group together related command-line arguments in `-h` and `--help`. +- [#1276](https://github.com/ClementTsang/bottom/pull/1276): NVIDIA GPU functionality is now tied behind the + `--enable_gpu` flag. This will likely be changed in the future. +- [#1344](https://github.com/ClementTsang/bottom/pull/1344): Change the `group` command line-argument to + `group_processes` for consistency with the config file option. +- [#1376](https://github.com/ClementTsang/bottom/pull/1376): Group together related command-line arguments in `-h` and + `--help`. - [#1411](https://github.com/ClementTsang/bottom/pull/1411): Add `time` as a default column. - [#1436](https://github.com/ClementTsang/bottom/pull/1436): Use actual "swap" value for Windows. - [#1441](https://github.com/ClementTsang/bottom/pull/1441): The following arguments have changed names: - - `--left_legend/-l` is now `--cpu_left_legend`. + - `--left_legend/-l` is now `--cpu_left_legend`. - [#1441](https://github.com/ClementTsang/bottom/pull/1441): The following config fields have changed names: - - `expanded_on_startup` is now `expanded`. - - `left_legend` is now `cpu_left_legend`. + - `expanded_on_startup` is now `expanded`. + - `left_legend` is now `cpu_left_legend`. - [#1458](https://github.com/ClementTsang/bottom/pull/1458): Fix a bug with `--hide_table_gap` with the battery widget. - [#1472](https://github.com/ClementTsang/bottom/pull/1472): The following arguments have changed names: - - `--mem_as_value` is now `process_memory_as_value`. + - `--mem_as_value` is now `process_memory_as_value`. - [#1472](https://github.com/ClementTsang/bottom/pull/1472): The following config fields have changed names: - - `mem_as_value` is now `process_memory_as_value`. + - `mem_as_value` is now `process_memory_as_value`. - [#1481](https://github.com/ClementTsang/bottom/pull/1481): The following config fields have changed names: - - `disk_filter` is now `disk.name_filter`. - - `mount_filter` is now `disk.mount_filter`. - - `temp_filter` is now `temperature.sensor_filter` - - `net_filter` is now `network.interface_filter` + - `disk_filter` is now `disk.name_filter`. + - `mount_filter` is now `disk.mount_filter`. + - `temp_filter` is now `temperature.sensor_filter` + - `net_filter` is now `network.interface_filter` - [#1499](https://github.com/ClementTsang/bottom/pull/1499): Redesign how styling is configured. - [#1499](https://github.com/ClementTsang/bottom/pull/1499): The following arguments have changed names: - - `--colors` is now `--theme` + - `--colors` is now `--theme` - [#1513](https://github.com/ClementTsang/bottom/pull/1513): Table headers are now bold by default. -- [#1515](https://github.com/ClementTsang/bottom/pull/1515): Show the config path in the error message if unable to read/create a config. -- [#1682](https://github.com/ClementTsang/bottom/pull/1682): On Linux, temperature sensor labels now always have their first letter capitalized (e.g. "k10temp: tctl" -> "k10temp: Tctl"). +- [#1515](https://github.com/ClementTsang/bottom/pull/1515): Show the config path in the error message if unable to + read/create a config. +- [#1682](https://github.com/ClementTsang/bottom/pull/1682): On Linux, temperature sensor labels now always have their + first letter capitalized (e.g. "k10temp: tctl" -> "k10temp: Tctl"). ### Bug Fixes - [#1314](https://github.com/ClementTsang/bottom/pull/1314): Fix fat32 mounts not showing up in macOS. -- [#1355](https://github.com/ClementTsang/bottom/pull/1355): Reduce chances of non-D0 devices waking up due to temperature checks on Linux. +- [#1355](https://github.com/ClementTsang/bottom/pull/1355): Reduce chances of non-D0 devices waking up due to + temperature checks on Linux. - [#1410](https://github.com/ClementTsang/bottom/pull/1410): Fix uptime calculation for Linux. ### Other @@ -238,7 +287,8 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Other -- [#1286](https://github.com/ClementTsang/bottom/pull/1286): Pin serde to 1.0.188 to help with potential `cargo install` issues. Note this version should be fine and not pull in binaries. +- [#1286](https://github.com/ClementTsang/bottom/pull/1286): Pin serde to 1.0.188 to help with potential `cargo install` + issues. Note this version should be fine and not pull in binaries. ## [0.9.5] - 2023-08-26 @@ -254,14 +304,18 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Changes -- [#1236](https://github.com/ClementTsang/bottom/pull/1236): Hide the battery tab selector if there is only one battery detected. -- [#1251](https://github.com/ClementTsang/bottom/pull/1251): Make the charge meter take the entire width of the battery widget. +- [#1236](https://github.com/ClementTsang/bottom/pull/1236): Hide the battery tab selector if there is only one battery + detected. +- [#1251](https://github.com/ClementTsang/bottom/pull/1251): Make the charge meter take the entire width of the battery + widget. ### Bug Fixes -- [#1230](https://github.com/ClementTsang/bottom/pull/1230): Fix core dump if the terminal is closed while bottom is open. +- [#1230](https://github.com/ClementTsang/bottom/pull/1230): Fix core dump if the terminal is closed while bottom is + open. - [#1245](https://github.com/ClementTsang/bottom/pull/1245): Fix killing processes in Windows leaving a handle open. -- [#1264](https://github.com/ClementTsang/bottom/pull/1264): Fix ARC usage showing max system memory instead of max ARC size. +- [#1264](https://github.com/ClementTsang/bottom/pull/1264): Fix ARC usage showing max system memory instead of max ARC + size. ## [0.9.3] - 2023-06-25 @@ -283,26 +337,34 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Features -- [#1172](https://github.com/ClementTsang/bottom/pull/1172): Support human times for `time_delta` and `default_time_value`. -- [#1187](https://github.com/ClementTsang/bottom/pull/1187): Use better names for duplicate temp sensors found by `/sys/class/thermal`. -- [#1188](https://github.com/ClementTsang/bottom/pull/1188): Also check `/sys/devices/platform/coretemp.*` for temp sensors. +- [#1172](https://github.com/ClementTsang/bottom/pull/1172): Support human times for `time_delta` and + `default_time_value`. +- [#1187](https://github.com/ClementTsang/bottom/pull/1187): Use better names for duplicate temp sensors found by + `/sys/class/thermal`. +- [#1188](https://github.com/ClementTsang/bottom/pull/1188): Also check `/sys/devices/platform/coretemp.*` for temp + sensors. ### Bug Fixes -- [#1186](https://github.com/ClementTsang/bottom/pull/1186): Fix for temperature sensor data gathering on Linux immediately halting if any method failed. -- [#1191](https://github.com/ClementTsang/bottom/pull/1191): Fix ntfs3 mounts not being counted as a physical drive type. +- [#1186](https://github.com/ClementTsang/bottom/pull/1186): Fix for temperature sensor data gathering on Linux + immediately halting if any method failed. +- [#1191](https://github.com/ClementTsang/bottom/pull/1191): Fix ntfs3 mounts not being counted as a physical drive + type. - [#1195](https://github.com/ClementTsang/bottom/pull/1195): Fix battery health being incorrectly reported on M1 macOS. -- [#1188](https://github.com/ClementTsang/bottom/pull/1188): Don't fail fast with temperature sensor name generation on Linux. +- [#1188](https://github.com/ClementTsang/bottom/pull/1188): Don't fail fast with temperature sensor name generation on + Linux. ### Other -- [#1199](https://github.com/ClementTsang/bottom/pull/1199): bottom should build on `aarch64-linux-android` with features disabled. +- [#1199](https://github.com/ClementTsang/bottom/pull/1199): bottom should build on `aarch64-linux-android` with + features disabled. ## [0.9.1] - 2023-05-14 ### Bug Fixes -- [#1148](https://github.com/ClementTsang/bottom/pull/1148): Fix Gruvbox colour string being invalid when cache usage is enabled. +- [#1148](https://github.com/ClementTsang/bottom/pull/1148): Fix Gruvbox colour string being invalid when cache usage is + enabled. ## [0.9.0] - 2023-05-10 @@ -310,7 +372,8 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#1016](https://github.com/ClementTsang/bottom/pull/1016): Add support for displaying process usernames on Windows. - [#1022](https://github.com/ClementTsang/bottom/pull/1022): Support three-character hex colour strings for styling. -- [#1024](https://github.com/ClementTsang/bottom/pull/1024): Support FreeBSD temperature sensors based on `hw.temperature`. +- [#1024](https://github.com/ClementTsang/bottom/pull/1024): Support FreeBSD temperature sensors based on + `hw.temperature`. - [#1063](https://github.com/ClementTsang/bottom/pull/1063): Add buffer and cache memory tracking. - [#1106](https://github.com/ClementTsang/bottom/pull/1106): Add current battery charging state. - [#1115](https://github.com/ClementTsang/bottom/pull/1115): Add customizable process columns to config file. @@ -320,7 +383,8 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#1025](https://github.com/ClementTsang/bottom/pull/1025): Officially support M1 macOS. - [#1035](https://github.com/ClementTsang/bottom/pull/1035): Migrate away from heim for CPU information. -- [#1036](https://github.com/ClementTsang/bottom/pull/1036): Migrate away from heim for memory information; bottom will now try to use `MemAvailable` on Linux to determine used memory. +- [#1036](https://github.com/ClementTsang/bottom/pull/1036): Migrate away from heim for memory information; bottom will + now try to use `MemAvailable` on Linux to determine used memory. - [#1041](https://github.com/ClementTsang/bottom/pull/1041): Migrate away from heim for network information. - [#1064](https://github.com/ClementTsang/bottom/pull/1064): Migrate away from heim for storage information. - [#812](https://github.com/ClementTsang/bottom/issues/812): Fully remove heim from bottom. @@ -329,9 +393,12 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Bug Fixes -- [#1021](https://github.com/ClementTsang/bottom/pull/1021): Fix selected text background colour being wrong if only the foreground colour was set. -- [#1037](https://github.com/ClementTsang/bottom/pull/1037): Fix `is_list_ignored` accepting all results if set to `false`. -- [#1064](https://github.com/ClementTsang/bottom/pull/1064): Disk name/mount filter now doesn't always show all entries if one filter wasn't set. +- [#1021](https://github.com/ClementTsang/bottom/pull/1021): Fix selected text background colour being wrong if only the + foreground colour was set. +- [#1037](https://github.com/ClementTsang/bottom/pull/1037): Fix `is_list_ignored` accepting all results if set to + `false`. +- [#1064](https://github.com/ClementTsang/bottom/pull/1064): Disk name/mount filter now doesn't always show all entries + if one filter wasn't set. - [#1064](https://github.com/ClementTsang/bottom/pull/1064): macOS disk I/O is potentially working now. - [#597](https://github.com/ClementTsang/bottom/issues/597): Resolve RUSTSEC-2021-0119 by removing heim. @@ -339,7 +406,9 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#1100](https://github.com/ClementTsang/bottom/pull/1100): Speed up first draw and first data collection. - [#1107](https://github.com/ClementTsang/bottom/pull/1107): Update to clap v4. -- [#1111](https://github.com/ClementTsang/bottom/pull/1111): Update to regex [1.8.0](https://github.com/rust-lang/regex/blob/93316a3b1adc43cc12fab6c73a59f646658cd984/CHANGELOG.md#180-2023-04-20), supporting more escapable characters and named captures. +- [#1111](https://github.com/ClementTsang/bottom/pull/1111): Update to + regex [1.8.0](https://github.com/rust-lang/regex/blob/93316a3b1adc43cc12fab6c73a59f646658cd984/CHANGELOG.md#180-2023-04-20), + supporting more escapable characters and named captures. ## [0.8.0] - 2023-01-22 @@ -349,29 +418,35 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Changes -- [#974](https://github.com/ClementTsang/bottom/pull/974): Hide battery duration section if the value is unknown. Also update shortened text. -- [#975](https://github.com/ClementTsang/bottom/pull/975): Automatically hide the battery widget if no batteries are found but `--battery` is enabled. +- [#974](https://github.com/ClementTsang/bottom/pull/974): Hide battery duration section if the value is unknown. Also + update shortened text. +- [#975](https://github.com/ClementTsang/bottom/pull/975): Automatically hide the battery widget if no batteries are + found but `--battery` is enabled. ### Bug Fixes -- [#950](https://github.com/ClementTsang/bottom/pull/950): Update help menu for disk and temperature widgets with sorting support. +- [#950](https://github.com/ClementTsang/bottom/pull/950): Update help menu for disk and temperature widgets with + sorting support. - [#994](https://github.com/ClementTsang/bottom/pull/994): Fix time graph labels not being styled. ### Other -- [#969](https://github.com/ClementTsang/bottom/pull/969): Follow Debian conventions for naming generated `.deb` binaries. +- [#969](https://github.com/ClementTsang/bottom/pull/969): Follow Debian conventions for naming generated `.deb` + binaries. ## [0.7.1] - 2023-01-06 ### Bug Fixes - [#950](https://github.com/ClementTsang/bottom/pull/950): Fix invalid sorting order for disk usage percentage. -- [#952](https://github.com/ClementTsang/bottom/pull/952), [#960](https://github.com/ClementTsang/bottom/pull/960): Partially fix battery text getting cut off in small windows. +- [#952](https://github.com/ClementTsang/bottom/pull/952), [#960](https://github.com/ClementTsang/bottom/pull/960): + Partially fix battery text getting cut off in small windows. - [#953](https://github.com/ClementTsang/bottom/pull/953): Fix CPU widget's 'all' label being missing on small sizes. ### Other -- [#951](https://github.com/ClementTsang/bottom/pull/951): Nightly builds now have their version number (`btm -V`) tagged with the commit hash. +- [#951](https://github.com/ClementTsang/bottom/pull/951): Nightly builds now have their version number (`btm -V`) + tagged with the commit hash. ## [0.7.0] - 2022-12-31 @@ -390,24 +465,31 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#870](https://github.com/ClementTsang/bottom/pull/870): Make disk widget sortable. - [#881](https://github.com/ClementTsang/bottom/pull/881): Add pasting to the search bar. - [#892](https://github.com/ClementTsang/bottom/pull/892): Add custom retention periods for data. -- [#899](https://github.com/ClementTsang/bottom/pull/899), [#910](https://github.com/ClementTsang/bottom/pull/910), [#912](https://github.com/ClementTsang/bottom/pull/912): Add non-normalized CPU usage to processes. +- [#899](https://github.com/ClementTsang/bottom/pull/899), [#910](https://github.com/ClementTsang/bottom/pull/910), [#912](https://github.com/ClementTsang/bottom/pull/912): + Add non-normalized CPU usage to processes. - [#919](https://github.com/ClementTsang/bottom/pull/919): Add an option to expand the default widget on startup. ### Changes -- [#690](https://github.com/ClementTsang/bottom/pull/690): Add some colour to `-h`/`--help` as part of updating to clap 3.0. +- [#690](https://github.com/ClementTsang/bottom/pull/690): Add some colour to `-h`/`--help` as part of updating to clap + 3.0. - [#726](https://github.com/ClementTsang/bottom/pull/726): Add ARM musl binary build tasks. - [#807](https://github.com/ClementTsang/bottom/pull/807): Add more human friendly temperature sensor names for Linux. -- [#845](https://github.com/ClementTsang/bottom/pull/845), [#922](https://github.com/ClementTsang/bottom/pull/922): Add macOS M1, FreeBSD 12, and FreeBSD 13 binary build tasks. -- [#916](https://github.com/ClementTsang/bottom/pull/916), [#937](https://github.com/ClementTsang/bottom/pull/937): Improve CPU usage by optimizing draw logic of charts and tables. +- [#845](https://github.com/ClementTsang/bottom/pull/845), [#922](https://github.com/ClementTsang/bottom/pull/922): Add + macOS M1, FreeBSD 12, and FreeBSD 13 binary build tasks. +- [#916](https://github.com/ClementTsang/bottom/pull/916), [#937](https://github.com/ClementTsang/bottom/pull/937): + Improve CPU usage by optimizing draw logic of charts and tables. ### Bug Fixes -- [#711](https://github.com/ClementTsang/bottom/pull/711): Fix building in Rust beta 1.61 due to `as_ref()` calls causing type inference issues. -- [#717](https://github.com/ClementTsang/bottom/pull/717): Fix clicking on empty space in tables selecting the very last entry of a list in some cases. +- [#711](https://github.com/ClementTsang/bottom/pull/711): Fix building in Rust beta 1.61 due to `as_ref()` calls + causing type inference issues. +- [#717](https://github.com/ClementTsang/bottom/pull/717): Fix clicking on empty space in tables selecting the very last + entry of a list in some cases. - [#720](https://github.com/ClementTsang/bottom/pull/720): Fix panic if battery feature was disabled during compilation. - [#805](https://github.com/ClementTsang/bottom/pull/805): Fix bottom keeping devices awake in certain scenarios. -- [#825](https://github.com/ClementTsang/bottom/pull/825): Use alternative method of getting parent PID in some cases on macOS devices to avoid needing root access. +- [#825](https://github.com/ClementTsang/bottom/pull/825): Use alternative method of getting parent PID in some cases on + macOS devices to avoid needing root access. - [#916](https://github.com/ClementTsang/bottom/pull/916): Fix possible gaps with widget layout spacing. - [#938](https://github.com/ClementTsang/bottom/pull/938): Fix search scrolling with wider Unicode characters. @@ -421,11 +503,13 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Features -- [#646](https://github.com/ClementTsang/bottom/pull/646): Add `PgUp`/`PgDown` keybind support to scroll up and down a page in a table. +- [#646](https://github.com/ClementTsang/bottom/pull/646): Add `PgUp`/`PgDown` keybind support to scroll up and down a + page in a table. ### Bug Fixes -- [#655](https://github.com/ClementTsang/bottom/pull/665): Fix bug where the program would stall in an infinite loop if the width of the terminal was too small. +- [#655](https://github.com/ClementTsang/bottom/pull/665): Fix bug where the program would stall in an infinite loop if + the width of the terminal was too small. ### Other @@ -439,7 +523,8 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Bug Fixes -- [#637](https://github.com/ClementTsang/bottom/pull/637): Fix process CPU calculation if /proc/stat CPU line has fewer values than expected +- [#637](https://github.com/ClementTsang/bottom/pull/637): Fix process CPU calculation if /proc/stat CPU line has fewer + values than expected ## [0.6.5] - 2021-12-19 @@ -456,15 +541,18 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Changes -- [#557](https://github.com/ClementTsang/bottom/pull/557): Add '/s' to network usage legend to better indicate that it's a per-second change. +- [#557](https://github.com/ClementTsang/bottom/pull/557): Add '/s' to network usage legend to better indicate that it's + a per-second change. ### Bug Fixes -- [#575](https://github.com/ClementTsang/bottom/pull/575): Updates the procfs library to not crash on kernel version >255. +- [#575](https://github.com/ClementTsang/bottom/pull/575): Updates the procfs library to not crash on kernel version > + 255. ### Internal Changes -- [#551](https://github.com/ClementTsang/bottom/pull/551): Disable AUR package generation in release pipeline since it's now in community. +- [#551](https://github.com/ClementTsang/bottom/pull/551): Disable AUR package generation in release pipeline since it's + now in community. - [#570](https://github.com/ClementTsang/bottom/pull/570): Make battery features optional in compilation. ## [0.6.3] - 2021-07-18 @@ -477,9 +565,11 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#536](https://github.com/ClementTsang/bottom/pull/536): Prevent tests from creating a config file. -- [#542](https://github.com/ClementTsang/bottom/pull/542): Fix missing config options in the default generated config file. +- [#542](https://github.com/ClementTsang/bottom/pull/542): Fix missing config options in the default generated config + file. -- [#545](https://github.com/ClementTsang/bottom/pull/545): Fix inaccurate memory usage/totals in macOS and Linux, switch unit to binary prefix. +- [#545](https://github.com/ClementTsang/bottom/pull/545): Fix inaccurate memory usage/totals in macOS and Linux, switch + unit to binary prefix. ## [0.6.2] - 2021-06-26 @@ -489,9 +579,11 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Bug Fixes -- [#504](https://github.com/ClementTsang/bottom/pull/504): Fix two bugs causing the battery widget colours and mouse events to be broken. +- [#504](https://github.com/ClementTsang/bottom/pull/504): Fix two bugs causing the battery widget colours and mouse + events to be broken. -- [#525](https://github.com/ClementTsang/bottom/pull/525): Fix Windows process CPU usage not being divided by the number of cores. +- [#525](https://github.com/ClementTsang/bottom/pull/525): Fix Windows process CPU usage not being divided by the number + of cores. ### Internal Changes @@ -501,17 +593,21 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Bug Fixes -- [#473](https://github.com/ClementTsang/bottom/pull/473): Fix missing string creation for memory usage in collapsed entries. +- [#473](https://github.com/ClementTsang/bottom/pull/473): Fix missing string creation for memory usage in collapsed + entries. ## [0.6.0] - 2021-05-09 ### Features -- [#263](https://github.com/ClementTsang/bottom/pull/263): Add the option for fine-grained kill signals on Unix-like systems. +- [#263](https://github.com/ClementTsang/bottom/pull/263): Add the option for fine-grained kill signals on Unix-like + systems. -- [#333](https://github.com/ClementTsang/bottom/pull/333): Add an "out of" indicator that can be enabled using `--show_table_scroll_position` (and its corresponding config option) to help keep track of scrolled position. +- [#333](https://github.com/ClementTsang/bottom/pull/333): Add an "out of" indicator that can be enabled using + `--show_table_scroll_position` (and its corresponding config option) to help keep track of scrolled position. -- [#379](https://github.com/ClementTsang/bottom/pull/379): Add `--process_command` flag and corresponding config option to default to showing a process' command. +- [#379](https://github.com/ClementTsang/bottom/pull/379): Add `--process_command` flag and corresponding config option + to default to showing a process' command. - [#381](https://github.com/ClementTsang/bottom/pull/381): Add a filter in the config file for network interfaces. @@ -519,13 +615,15 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#406](https://github.com/ClementTsang/bottom/pull/406): Add the Nord colour scheme, as well as a light variant. -- [#409](https://github.com/ClementTsang/bottom/pull/409): Add `Ctrl-w` and `Ctrl-h` shortcuts in search, to delete a word and delete a character respectively. +- [#409](https://github.com/ClementTsang/bottom/pull/409): Add `Ctrl-w` and `Ctrl-h` shortcuts in search, to delete a + word and delete a character respectively. - [#413](https://github.com/ClementTsang/bottom/pull/413): Add mouse support for sorting process columns. - [#425](https://github.com/ClementTsang/bottom/pull/425): Add user into the process widget for Unix-based systems. -- [#437](https://github.com/ClementTsang/bottom/pull/437): Redo dynamic network y-axis, add linear scaling, unit type, and prefix options. +- [#437](https://github.com/ClementTsang/bottom/pull/437): Redo dynamic network y-axis, add linear scaling, unit type, + and prefix options. - [#445](https://github.com/ClementTsang/bottom/pull/445): Add collapsing in tree mode sums usage to parent. @@ -533,49 +631,64 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#372](https://github.com/ClementTsang/bottom/pull/372): Hide the SWAP graph and legend in normal mode if SWAP is 0. -- [#390](https://github.com/ClementTsang/bottom/pull/390): macOS shouldn't need elevated privileges to see CPU usage on all processes now. +- [#390](https://github.com/ClementTsang/bottom/pull/390): macOS shouldn't need elevated privileges to see CPU usage on + all processes now. - [#391](https://github.com/ClementTsang/bottom/pull/391): Show degree symbol on Celsius and Fahrenheit. -- [#418](https://github.com/ClementTsang/bottom/pull/418): Removed automatically jumping to the top of the list for process sort shortcuts. The standard behaviour is to now stay in place. +- [#418](https://github.com/ClementTsang/bottom/pull/418): Removed automatically jumping to the top of the list for + process sort shortcuts. The standard behaviour is to now stay in place. - [#420](https://github.com/ClementTsang/bottom/pull/420): Updated tui-rs, allowing for prettier looking tables! -- [#437](https://github.com/ClementTsang/bottom/pull/437): Add linear interpolation step in drawing step to pr event missing entries on the right side of charts. +- [#437](https://github.com/ClementTsang/bottom/pull/437): Add linear interpolation step in drawing step to pr event + missing entries on the right side of charts. -- [#443](https://github.com/ClementTsang/bottom/pull/443): Make process widget consistent with disk widget in using decimal prefixes (kilo, mega, etc.) for writes/reads. +- [#443](https://github.com/ClementTsang/bottom/pull/443): Make process widget consistent with disk widget in using + decimal prefixes (kilo, mega, etc.) for writes/reads. -- [#449](https://github.com/ClementTsang/bottom/pull/449): Add decimal place to actual memory usage in process widget for values greater or equal to 1GiB. +- [#449](https://github.com/ClementTsang/bottom/pull/449): Add decimal place to actual memory usage in process widget + for values greater or equal to 1GiB. -- [#450](https://github.com/ClementTsang/bottom/pull/450): Tweak `default-light` colour scheme to look less terrible on white terminals. +- [#450](https://github.com/ClementTsang/bottom/pull/450): Tweak `default-light` colour scheme to look less terrible on + white terminals. -- [#451](https://github.com/ClementTsang/bottom/pull/451): Add decimal place to disk values larger than 1GB for total read/write in process widgets, and read/write per second in process widgets and disk widgets. +- [#451](https://github.com/ClementTsang/bottom/pull/451): Add decimal place to disk values larger than 1GB for total + read/write in process widgets, and read/write per second in process widgets and disk widgets. -- [#455](https://github.com/ClementTsang/bottom/pull/455): Add a mount point filter for the disk widget. Also tweaked how the filter system works - see the PR for details. +- [#455](https://github.com/ClementTsang/bottom/pull/455): Add a mount point filter for the disk widget. Also tweaked + how the filter system works - see the PR for details. ### Bug Fixes -- [#416](https://github.com/ClementTsang/bottom/pull/416): Fix grouped vs ungrouped modes in the processes widget having inconsistent spacing. +- [#416](https://github.com/ClementTsang/bottom/pull/416): Fix grouped vs ungrouped modes in the processes widget having + inconsistent spacing. - [#417](https://github.com/ClementTsang/bottom/pull/417): Fix the sort menu and sort shortcuts not syncing up. -- [#423](https://github.com/ClementTsang/bottom/pull/423): Fix disk encryption causing the disk widget to fail or not properly map I/O statistics. +- [#423](https://github.com/ClementTsang/bottom/pull/423): Fix disk encryption causing the disk widget to fail or not + properly map I/O statistics. -- [#425](https://github.com/ClementTsang/bottom/pull/425): Fixed a bug allowing grouped mode in tree mode if already in grouped mode. +- [#425](https://github.com/ClementTsang/bottom/pull/425): Fixed a bug allowing grouped mode in tree mode if already in + grouped mode. -- [#467](https://github.com/ClementTsang/bottom/pull/467): Switched CPU usage data source to fix a bug on Windows where occasionally CPU usage would be stuck at 0%. +- [#467](https://github.com/ClementTsang/bottom/pull/467): Switched CPU usage data source to fix a bug on Windows where + occasionally CPU usage would be stuck at 0%. ## [0.5.7] - 2021-01-30 ### Bug Fixes -- [#373](https://github.com/ClementTsang/bottom/pull/373): Fix incorrect colours being used the CPU widget in basic mode. +- [#373](https://github.com/ClementTsang/bottom/pull/373): Fix incorrect colours being used the CPU widget in basic + mode. - [#386](https://github.com/ClementTsang/bottom/pull/386): Fix `hide_table_gap` not working in the battery widget. -- [#389](https://github.com/ClementTsang/bottom/pull/389): Fix the sorting arrow disappearing in proc widget under some cases. +- [#389](https://github.com/ClementTsang/bottom/pull/389): Fix the sorting arrow disappearing in proc widget under some + cases. -- [#398](https://github.com/ClementTsang/bottom/pull/398): Fix basic mode failing to report CPUs if there are less than 4 entries to report. +- [#398](https://github.com/ClementTsang/bottom/pull/398): Fix basic mode failing to report CPUs if there are less than + 4 entries to report. ## [0.5.6] - 2020-12-17 @@ -587,7 +700,8 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Bug Fixes -- [#349](https://github.com/ClementTsang/bottom/pull/349): Fix CPU graph colours not matching the legend in the "all" state. +- [#349](https://github.com/ClementTsang/bottom/pull/349): Fix CPU graph colours not matching the legend in the "all" + state. ## [0.5.4] - 2020-12-10 @@ -597,7 +711,8 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Bug Fixes -- [#344](https://github.com/ClementTsang/bottom/pull/344): Fix a performance regression causing high memory and CPU usage over time. +- [#344](https://github.com/ClementTsang/bottom/pull/344): Fix a performance regression causing high memory and CPU + usage over time. - [#345](https://github.com/ClementTsang/bottom/pull/345): Fix process states not showing. @@ -617,70 +732,91 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Bug Fixes -- [6ef1d66](https://github.com/ClementTsang/bottom/commit/6ef1d66b2bca49452572a2cabb87d338dcf56e7b): Remove nord as a valid colour for now. +- [6ef1d66](https://github.com/ClementTsang/bottom/commit/6ef1d66b2bca49452572a2cabb87d338dcf56e7b): Remove nord as a + valid colour for now. -- [e04ce4f](https://github.com/ClementTsang/bottom/commit/e04ce4fa1b42e99f00cf8825bcd58da43552214e): Fix `--use_old_network_legend`. +- [e04ce4f](https://github.com/ClementTsang/bottom/commit/e04ce4fa1b42e99f00cf8825bcd58da43552214e): Fix + `--use_old_network_legend`. -- [99d0402](https://github.com/ClementTsang/bottom/commit/99d04029f0ebfc73d36adb06ea58ad68f090017c): Fix config detection for built-in colours. +- [99d0402](https://github.com/ClementTsang/bottom/commit/99d04029f0ebfc73d36adb06ea58ad68f090017c): Fix config + detection for built-in colours. ## [0.5.0] - 2020-11-20 ### Features -- [#206](https://github.com/ClementTsang/bottom/pull/206): Adaptive network graphs --- prior to this update, graphs were stuck at a range from 0B to 1GiB. Now, they adjust to your current usage and time span, so if you're using, say, less than a MiB, it will cap at a MiB. If you're using 10GiB, then the graph will reflect that and span to a bit greater than 10GiB. +- [#206](https://github.com/ClementTsang/bottom/pull/206): Adaptive network graphs --- prior to this update, graphs were + stuck at a range from 0B to 1GiB. Now, they adjust to your current usage and time span, so if you're using, say, less + than a MiB, it will cap at a MiB. If you're using 10GiB, then the graph will reflect that and span to a bit greater + than 10GiB. - [#208](https://github.com/ClementTsang/bottom/pull/208): Mouse support for tables and moving to widgets. - [#217](https://github.com/ClementTsang/bottom/pull/217): (Kinda) ARM support. -- [#220](https://github.com/ClementTsang/bottom/pull/220): Add ability to hide specific temperature and disk entries via config. +- [#220](https://github.com/ClementTsang/bottom/pull/220): Add ability to hide specific temperature and disk entries via + config. - [#223](https://github.com/ClementTsang/bottom/pull/223): Add tree mode for processes. - - [#312](https://github.com/ClementTsang/bottom/pull/312): Add a `tree` flag to default to the tree mode. + - [#312](https://github.com/ClementTsang/bottom/pull/312): Add a `tree` flag to default to the tree mode. - [#269](https://github.com/ClementTsang/bottom/pull/269): Add simple indicator for when data updating is frozen. - [#296](https://github.com/ClementTsang/bottom/pull/296): Built-in colour themes. -- [#309](https://github.com/ClementTsang/bottom/pull/309): Add a `mem_as_value` flag to default displaying process memory as value rather than percentage. +- [#309](https://github.com/ClementTsang/bottom/pull/309): Add a `mem_as_value` flag to default displaying process + memory as value rather than percentage. ### Changes -- [#213](https://github.com/ClementTsang/bottom/pull/213), [#214](https://github.com/ClementTsang/bottom/pull/214): Updated help descriptions, added auto-complete generation. +- [#213](https://github.com/ClementTsang/bottom/pull/213), [#214](https://github.com/ClementTsang/bottom/pull/214): + Updated help descriptions, added auto-complete generation. -- [#296](https://github.com/ClementTsang/bottom/pull/296): Changed how we do battery theming. We now only set high, medium, and low colours, and we deal with the ratios. +- [#296](https://github.com/ClementTsang/bottom/pull/296): Changed how we do battery theming. We now only set high, + medium, and low colours, and we deal with the ratios. ### Bug Fixes -- [#211](https://github.com/ClementTsang/bottom/pull/211): Fix a bug where you could move down in the process widget even if the process widget search was closed. +- [#211](https://github.com/ClementTsang/bottom/pull/211): Fix a bug where you could move down in the process widget + even if the process widget search was closed. - [#215](https://github.com/ClementTsang/bottom/pull/215): Add labels to Linux temperature values. -- [#224](https://github.com/ClementTsang/bottom/pull/224): Implements sorting by count. It previously did absolutely nothing. +- [#224](https://github.com/ClementTsang/bottom/pull/224): Implements sorting by count. It previously did absolutely + nothing. - [#238](https://github.com/ClementTsang/bottom/pull/238): Fix being able to cause an index out-of-bounds by resizing to a smaller terminal _just_ after the program got the terminal size, but right before the terminal started drawing. -- [#238](https://github.com/ClementTsang/bottom/pull/238): Fixed not clearing screen before drawing, which caused issues for some environments. +- [#238](https://github.com/ClementTsang/bottom/pull/238): Fixed not clearing screen before drawing, which caused issues + for some environments. -- [#253](https://github.com/ClementTsang/bottom/pull/253): Fix highlighted entries being stuck in another colour when the widget is not selected. +- [#253](https://github.com/ClementTsang/bottom/pull/253): Fix highlighted entries being stuck in another colour when + the widget is not selected. -- [#253](https://github.com/ClementTsang/bottom/pull/253), [#266](https://github.com/ClementTsang/bottom/pull/266): Expanding a widget no longer overrides the widget/dialog title colour. +- [#253](https://github.com/ClementTsang/bottom/pull/253), [#266](https://github.com/ClementTsang/bottom/pull/266): + Expanding a widget no longer overrides the widget/dialog title colour. -- [#261](https://github.com/ClementTsang/bottom/pull/261): Fixed process names occasionally showing up as truncated, due to only using `/proc//stat` as our data source. +- [#261](https://github.com/ClementTsang/bottom/pull/261): Fixed process names occasionally showing up as truncated, due + to only using `/proc//stat` as our data source. -- [#262](https://github.com/ClementTsang/bottom/pull/262): Fixed missing thread termination steps as well as improper polling causing blocking in input thread. +- [#262](https://github.com/ClementTsang/bottom/pull/262): Fixed missing thread termination steps as well as improper + polling causing blocking in input thread. -- [#289](https://github.com/ClementTsang/bottom/pull/289): Fixed the CPU basic widget showing incorrect data due to an incorrect offset when displaying the data. +- [#289](https://github.com/ClementTsang/bottom/pull/289): Fixed the CPU basic widget showing incorrect data due to an + incorrect offset when displaying the data. -- [#290](https://github.com/ClementTsang/bottom/pull/290): Fixed an incorrect offset affecting the CPU colour when scrolling. +- [#290](https://github.com/ClementTsang/bottom/pull/290): Fixed an incorrect offset affecting the CPU colour when + scrolling. - [#291](https://github.com/ClementTsang/bottom/pull/291): Fixed spacing problems in basic CPU mode. -- [#296](https://github.com/ClementTsang/bottom/pull/296): Fixed an incorrect offset affecting the graph CPU colour mismatching the legend. +- [#296](https://github.com/ClementTsang/bottom/pull/296): Fixed an incorrect offset affecting the graph CPU colour + mismatching the legend. -- [#296](https://github.com/ClementTsang/bottom/pull/296): Removes an accidental extra comma in one of the headers in the disk widget. +- [#296](https://github.com/ClementTsang/bottom/pull/296): Removes an accidental extra comma in one of the headers in + the disk widget. - [#308](https://github.com/ClementTsang/bottom/pull/308): Removes the automatically generated CPU colours method. @@ -698,7 +834,8 @@ That said, these are more guidelines rather than hardset rules, though the proje - [#183](https://github.com/ClementTsang/bottom/pull/183): Added sorting capabilities to any column. -- [#188](https://github.com/ClementTsang/bottom/pull/188): Add (estimated) memory usage values, toggle this from percent to values for processes with `%`. +- [#188](https://github.com/ClementTsang/bottom/pull/188): Add (estimated) memory usage values, toggle this from percent + to values for processes with `%`. - [#196](https://github.com/ClementTsang/bottom/pull/196): Support searching processes by process state. @@ -708,17 +845,23 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Changes -- [#181](https://github.com/ClementTsang/bottom/pull/181): Changed to just support stable (and newer) Rust, due to library incompatibilities. +- [#181](https://github.com/ClementTsang/bottom/pull/181): Changed to just support stable (and newer) Rust, due to + library incompatibilities. -- [#182](https://github.com/ClementTsang/bottom/pull/182): For macOS, support `$HOME/Library/Application Support` instead of `$HOME/.config` for config files. For backwards compatibility's sake, for macOS, this will still check `.config` if it exists first, but otherwise, it will default to the new location. +- [#182](https://github.com/ClementTsang/bottom/pull/182): For macOS, support `$HOME/Library/Application Support` + instead of `$HOME/.config` for config files. For backwards compatibility's sake, for macOS, this will still check + `.config` if it exists first, but otherwise, it will default to the new location. ### Bug Fixes -- [#183](https://github.com/ClementTsang/bottom/pull/183): Fixed bug in basic mode where the battery widget was placed incorrectly. +- [#183](https://github.com/ClementTsang/bottom/pull/183): Fixed bug in basic mode where the battery widget was placed + incorrectly. -- [#186](https://github.com/ClementTsang/bottom/pull/186): Fixed a bug caused by hitting `Enter` when a process kill fails, breaking future process kills. +- [#186](https://github.com/ClementTsang/bottom/pull/186): Fixed a bug caused by hitting `Enter` when a process kill + fails, breaking future process kills. -- [#187](https://github.com/ClementTsang/bottom/pull/187): Fix bug caused by incorrectly reading the `/proc/{pid}/stats` file. +- [#187](https://github.com/ClementTsang/bottom/pull/187): Fix bug caused by incorrectly reading the `/proc/{pid}/stats` + file. ## [0.4.5] - 2020-07-08 @@ -728,27 +871,35 @@ That said, these are more guidelines rather than hardset rules, though the proje ### Features -- [#114](https://github.com/ClementTsang/bottom/pull/114): Show process state per process (originally in 0.4.0, moved to later). This only shows if the processes are not merged together; I couldn't think of a nice way to show it when grouped together, unfortunately. +- [#114](https://github.com/ClementTsang/bottom/pull/114): Show process state per process (originally in 0.4.0, moved to + later). This only shows if the processes are not merged together; I couldn't think of a nice way to show it when + grouped together, unfortunately. ### Changes -- [#156](https://github.com/ClementTsang/bottom/issues/156) - Removal of the `/` CPU core showing in the chart. It felt clunky to use, was not really useful, and hard to work with large core counts. +- [#156](https://github.com/ClementTsang/bottom/issues/156) - Removal of the `/` CPU core showing in the chart. It felt + clunky to use, was not really useful, and hard to work with large core counts. Furthermore: - - `show_disabled_data` option and flag is removed. + - `show_disabled_data` option and flag is removed. - - Average CPU is now on by _default_. You can disable it via `-a, --hide_avg_cpu` or `hide_avg_cpu = true`. + - Average CPU is now on by _default_. You can disable it via `-a, --hide_avg_cpu` or `hide_avg_cpu = true`. - - Make highlighted CPU persist even if widget is not selected - this should help make it easier to know what CPU you are looking at even if you aren't currently on the CPU widget. + - Make highlighted CPU persist even if widget is not selected - this should help make it easier to know what CPU you + are looking at even if you aren't currently on the CPU widget. ### Bug Fixes -- [#164](https://github.com/ClementTsang/bottom/issues/164) - Fixed a bug where bottom would incorrectly read the wrong values to calculate the read/write columns for processes in Linux. +- [#164](https://github.com/ClementTsang/bottom/issues/164) - Fixed a bug where bottom would incorrectly read the wrong + values to calculate the read/write columns for processes in Linux. -- [#165](https://github.com/ClementTsang/bottom/issues/165) - Fixed a bug where OR operations in the process query wouldn't properly for some cases. +- [#165](https://github.com/ClementTsang/bottom/issues/165) - Fixed a bug where OR operations in the process query + wouldn't properly for some cases. -- The process query should hopefully be a bit more usable now. There were issues with how spaces (which are treated as an AND if it was between keywords, so something like `btm cpu > 0 mem > 0` would look for a process named `btm` with cpu usage > 0 and mem usage > 0). This has been hopefully improved. +- The process query should hopefully be a bit more usable now. There were issues with how spaces (which are treated as + an AND if it was between keywords, so something like `btm cpu > 0 mem > 0` would look for a process named `btm` with + cpu usage > 0 and mem usage > 0). This has been hopefully improved. ## [0.4.3] - 2020-05-15 @@ -778,7 +929,8 @@ is equivalent to: (btm AND cpu > 0) AND (discord AND mem > 0) ``` -- [#151](https://github.com/ClementTsang/bottom/issues/151) - Fixed an issue where if the drive I/O label didn't match any disk, the entire disk widget would display nothing. +- [#151](https://github.com/ClementTsang/bottom/issues/151) - Fixed an issue where if the drive I/O label didn't match + any disk, the entire disk widget would display nothing. - Display SWAP and MEM legends even if the total amount is 0 to avoid a weird blank spot in the legend. @@ -786,7 +938,8 @@ is equivalent to: ### Bug Fixes -- [#146](https://github.com/ClementTsang/bottom/pull/146): Fixed a typo in the help menu (credit to [HarHarLinks](https://github.com/HarHarLinks)). +- [#146](https://github.com/ClementTsang/bottom/pull/146): Fixed a typo in the help menu (credit + to [HarHarLinks](https://github.com/HarHarLinks)). ## [0.4.0] - 2020-05-04 @@ -796,40 +949,46 @@ is equivalent to: - [#55](https://github.com/ClementTsang/bottom/issues/55): Battery monitoring widget. -- [#134](https://github.com/ClementTsang/bottom/pull/134): `hjkl` movement to delete dialog (credit to [andys8](https://github.com/andys8)). +- [#134](https://github.com/ClementTsang/bottom/pull/134): `hjkl` movement to delete dialog (credit + to [andys8](https://github.com/andys8)). -- [#59](https://github.com/ClementTsang/bottom/issues/59): `Alt-h` and `Alt-l` to move left/right in query (and rest of the app actually). +- [#59](https://github.com/ClementTsang/bottom/issues/59): `Alt-h` and `Alt-l` to move left/right in query (and rest of + the app actually). - [#59](https://github.com/ClementTsang/bottom/issues/59): Added a more advanced querying system. ### Changes -- Changed default colours for highlighted borders and table headers to light blue - this is mostly to deal with Powershell colour conflicts. +- Changed default colours for highlighted borders and table headers to light blue - this is mostly to deal with + Powershell colour conflicts. - Updated the widget type keyword list to accept the following keywords as existing types: - - `"memory"` - - `"network"` - - `"process"` - - `"processes"` - - `"temperature"` + - `"memory"` + - `"network"` + - `"process"` + - `"processes"` + - `"temperature"` - [#117](https://github.com/ClementTsang/bottom/issues/117): Update tui to 0.9: - - Removed an (undocumented) feature in allowing modifying total RX/TX colours. This is mainly due to the legend change. + - Removed an (undocumented) feature in allowing modifying total RX/TX colours. This is mainly due to the legend + change. - - Use custom legend-hiding to stop hiding legends for memory and network widgets. + - Use custom legend-hiding to stop hiding legends for memory and network widgets. - - In addition, changed to using only legends within the graph for network, as well as redesigned the legend. - The old legend style can still be used via the `--use_old_network_legend` flag or `use_old_network_legend = true` config option. + - In addition, changed to using only legends within the graph for network, as well as redesigned the legend. + The old legend style can still be used via the `--use_old_network_legend` flag or `use_old_network_legend = true` + config option. - - Allow for option to hide the header gap on tables via `--hide_table_gap` or `hide_table_gap = true`. + - Allow for option to hide the header gap on tables via `--hide_table_gap` or `hide_table_gap = true`. - [#126](https://github.com/ClementTsang/bottom/pull/126): Updated error messages to be a bit more consistent/helpful. - [#70](https://github.com/ClementTsang/bottom/issues/70): Redesigned help menu to allow for scrolling. -- [#59](https://github.com/ClementTsang/bottom/issues/59): Moved maximization key to `e`, renamed feature to _expanding_ the widget. Done to allow for the `` key to be used later for a more intuitive usage. +- [#59](https://github.com/ClementTsang/bottom/issues/59): Moved maximization key to `e`, renamed feature to _expanding_ + the widget. Done to allow for the `` key to be used later for a more intuitive usage. ### Bug Fixes @@ -850,7 +1009,8 @@ is equivalent to: ### Features -- [#20](https://github.com/ClementTsang/bottom/issues/20): Time scaling was added to allow users to zoom in/out based on their desired time intervals. Time markers on the charts can be hidden or automatically hidden. +- [#20](https://github.com/ClementTsang/bottom/issues/20): Time scaling was added to allow users to zoom in/out based on + their desired time intervals. Time markers on the charts can be hidden or automatically hidden. - [#37](https://github.com/ClementTsang/bottom/issues/37): Automatically populate a config file if one does not exist. @@ -864,9 +1024,11 @@ is equivalent to: - [#17](https://github.com/ClementTsang/bottom/issues/17): Add colouring options to the total RX/TX labels. -- [#29](https://github.com/ClementTsang/bottom/issues/29): Added `F1-F3` keys as alternatives for selecting search options +- [#29](https://github.com/ClementTsang/bottom/issues/29): Added `F1-F3` keys as alternatives for selecting search + options -- [#42](https://github.com/ClementTsang/bottom/issues/42), [#45](https://github.com/ClementTsang/bottom/issues/45), [#35](https://github.com/ClementTsang/bottom/issues/35): Change the arrow used for sorting processes to work with other terminals. +- [#42](https://github.com/ClementTsang/bottom/issues/42), [#45](https://github.com/ClementTsang/bottom/issues/45), [#35](https://github.com/ClementTsang/bottom/issues/35): + Change the arrow used for sorting processes to work with other terminals. - [#61](https://github.com/ClementTsang/bottom/issues/61): Search box changed to not block if the window is small. @@ -876,17 +1038,21 @@ is equivalent to: ### Bug Fixes -- [#33](https://github.com/ClementTsang/bottom/issues/33): Fix bug with search and graphemes bigger than a byte crashing due to the cursor. +- [#33](https://github.com/ClementTsang/bottom/issues/33): Fix bug with search and graphemes bigger than a byte crashing + due to the cursor. -- [#41](https://github.com/ClementTsang/bottom/issues/41): Fix bug that caused the cursor to go off-screen while searching. +- [#41](https://github.com/ClementTsang/bottom/issues/41): Fix bug that caused the cursor to go off-screen while + searching. - [#61](https://github.com/ClementTsang/bottom/issues/61): Dialog boxes set to be a constant width/height. -- [#80](https://github.com/ClementTsang/bottom/issues/80): Fix bug with resizing and scrolling causing issues with tables. +- [#80](https://github.com/ClementTsang/bottom/issues/80): Fix bug with resizing and scrolling causing issues with + tables. - [#77](https://github.com/ClementTsang/bottom/issues/77): Fixed hidden CPU entries from being scrolled to. -- [#79](https://github.com/ClementTsang/bottom/issues/79): Fixed CPU entries being a different colour if the one above it was hidden. +- [#79](https://github.com/ClementTsang/bottom/issues/79): Fixed CPU entries being a different colour if the one above + it was hidden. - [#85](https://github.com/ClementTsang/bottom/pull/85): A div-by-zero error when the memory values were zero was fixed. @@ -902,7 +1068,8 @@ is equivalent to: - Added support for colouring the average CPU core separately in config files. -- [#15](https://github.com/ClementTsang/bottom/issues/15) - Added support for (some) named colours and RGB values in config files. +- [#15](https://github.com/ClementTsang/bottom/issues/15) - Added support for (some) named colours and RGB values in + config files. ### Bug Fixes @@ -924,7 +1091,8 @@ is equivalent to: - Searching in processes was added. -- The option of a config file was added. Config files follow the TOML spec. These support boot flags by default, and colour schemes. +- The option of a config file was added. Config files follow the TOML spec. These support boot flags by default, and + colour schemes. - The capability of maximizing a widget to take up all draw space was added. @@ -934,13 +1102,15 @@ is equivalent to: - 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. +- 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! ### Bug Fixes -- [#2](https://github.com/ClementTsang/bottom/issues/2): Fixed issues where the program would crash if the window was too small. +- [#2](https://github.com/ClementTsang/bottom/issues/2): Fixed issues where the program would crash if the window was + too small. - Added a panic handler so terminals won't get all broken if a panic _does_ still occur. @@ -952,7 +1122,8 @@ is equivalent to: ### Changes -- Added a bit more complexity to how we determine column widths for tables. This should fix an issue where columns would glitch out at smaller widths, and hopefully look nicer. +- Added a bit more complexity to how we determine column widths for tables. This should fix an issue where columns would + glitch out at smaller widths, and hopefully look nicer. ### Bug Fixes @@ -964,13 +1135,15 @@ is equivalent to: ### Features -- `Tab` in the processes widget will now group similarly-named processes together (as well as their total CPU and MEM usage). `dd`-ing this will try to kill all entries with that process name. +- `Tab` in the processes widget will now group similarly-named processes together (as well as their total CPU and MEM + usage). `dd`-ing this will try to kill all entries with that process name. - A flag to enable this by default is also now available. ### Bug Fixes -- Accidentally left in a bug in which the disk widget was using megabytes instead of bytes as their unit during data collection... but during data conversion for the display I treated them as bytes. +- Accidentally left in a bug in which the disk widget was using megabytes instead of bytes as their unit during data + collection... but during data conversion for the display I treated them as bytes. ## [0.1.0] - 2020-01-11 diff --git a/Cargo.toml b/Cargo.toml index 02be25cd..ae7fa8c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,7 +95,11 @@ starship-battery = { version = "0.10.3", optional = true } sysinfo = "=0.37.2" timeless = "0.0.14-alpha" toml_edit = { version = "0.24.0", features = ["serde"] } -tui = { version = "0.30.0", package = "ratatui", features = ["unstable-rendered-line-info", "layout-cache", "crossterm"] } +tui = { version = "0.30.0", package = "ratatui", features = [ + "unstable-rendered-line-info", + "layout-cache", + "crossterm", +] } unicode-ellipsis = "0.3.0" unicode-segmentation = "1.12.0" unicode-width = "0.2.2" @@ -249,6 +253,7 @@ rust_2018_idioms = "deny" [lints.rustdoc] broken_intra_doc_links = "deny" +private_intra_doc_links = "deny" missing_crate_level_docs = "deny" [lints.clippy] diff --git a/src/canvas/components/time_graph.rs b/src/canvas/components/time_graph.rs new file mode 100644 index 00000000..89b86708 --- /dev/null +++ b/src/canvas/components/time_graph.rs @@ -0,0 +1,13 @@ +//! A graph displaying data in the y-axis over time in the x-axis. +//! +//! A "base" version is available, based on a vendored version of +//! ratatui's [charts](https://docs.rs/ratatui/latest/ratatui/widgets/struct.Chart.html), +//! as are variants for common use cases. + +mod base; +mod variants; +mod vendored; + +pub(crate) use base::*; +pub(crate) use variants::percent::PercentTimeGraph; +pub(crate) use vendored::*; diff --git a/src/canvas/components/time_graph/base.rs b/src/canvas/components/time_graph/base.rs index 1d349881..b13f71b6 100644 --- a/src/canvas/components/time_graph/base.rs +++ b/src/canvas/components/time_graph/base.rs @@ -1,8 +1,6 @@ -mod time_chart; use std::{borrow::Cow, time::Instant}; use concat_string::concat_string; -pub use time_chart::*; use tui::{ Frame, layout::{Constraint, Rect}, @@ -12,6 +10,7 @@ use tui::{ widgets::{BorderType, GraphType}, }; +use crate::canvas::components::time_graph::*; use crate::{app::data::Values, canvas::drawing_utils::widget_block}; /// Represents the data required by the [`TimeGraph`]. diff --git a/src/canvas/components/time_graph/mod.rs b/src/canvas/components/time_graph/mod.rs deleted file mode 100644 index beba361e..00000000 --- a/src/canvas/components/time_graph/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -mod base; -pub mod variants; - -pub(crate) use base::*; diff --git a/src/canvas/components/time_graph/variants/mod.rs b/src/canvas/components/time_graph/variants.rs similarity index 100% rename from src/canvas/components/time_graph/variants/mod.rs rename to src/canvas/components/time_graph/variants.rs diff --git a/src/canvas/components/time_graph/base/time_chart.rs b/src/canvas/components/time_graph/vendored.rs similarity index 99% rename from src/canvas/components/time_graph/base/time_chart.rs rename to src/canvas/components/time_graph/vendored.rs index 8e0abb04..9e5d38da 100644 --- a/src/canvas/components/time_graph/base/time_chart.rs +++ b/src/canvas/components/time_graph/vendored.rs @@ -2,7 +2,7 @@ //! right-aligned timeseries data. //! //! Generally should be updated to be in sync with [`chart.rs`](https://github.com/ratatui-org/ratatui/blob/main/src/widgets/chart.rs); -//! the specializations are factored out to `time_chart/points.rs`. +//! the specializations are factored out to `time_graph/points.rs`. mod canvas; mod grid; @@ -410,10 +410,8 @@ impl ChartScaling { /// - Styling option for the legend box /// - Automatically trimming out redundant draws in the x-bounds. /// - Automatic interpolation to points that fall *just* outside of the screen. -/// -/// TODO: Support for putting the legend on the left side. #[derive(Debug, Default, Clone)] -pub struct TimeChart<'a> { +pub(super) struct TimeChart<'a> { /// A block to display around the widget eventually block: Option>, /// The horizontal axis diff --git a/src/canvas/components/time_graph/base/time_chart/canvas.rs b/src/canvas/components/time_graph/vendored/canvas.rs similarity index 100% rename from src/canvas/components/time_graph/base/time_chart/canvas.rs rename to src/canvas/components/time_graph/vendored/canvas.rs diff --git a/src/canvas/components/time_graph/base/time_chart/grid.rs b/src/canvas/components/time_graph/vendored/grid.rs similarity index 100% rename from src/canvas/components/time_graph/base/time_chart/grid.rs rename to src/canvas/components/time_graph/vendored/grid.rs diff --git a/src/canvas/components/time_graph/base/time_chart/points.rs b/src/canvas/components/time_graph/vendored/points.rs similarity index 99% rename from src/canvas/components/time_graph/base/time_chart/points.rs rename to src/canvas/components/time_graph/vendored/points.rs index dd2ad058..e531c838 100644 --- a/src/canvas/components/time_graph/base/time_chart/points.rs +++ b/src/canvas/components/time_graph/vendored/points.rs @@ -112,7 +112,7 @@ mod test { use super::*; #[test] - fn time_chart_test_interpolation() { + fn time_graph_test_interpolation() { let data = [(-3.0, 8.0), (-1.0, 6.0), (0.0, 5.0)]; assert_eq!(interpolate_point(&data[1], &data[2], 0.0), 5.0); diff --git a/src/canvas/widgets/cpu_graph.rs b/src/canvas/widgets/cpu_graph.rs index 6abb9b27..c0ffcf17 100644 --- a/src/canvas/widgets/cpu_graph.rs +++ b/src/canvas/widgets/cpu_graph.rs @@ -9,7 +9,7 @@ use crate::{ Painter, components::{ data_table::{DrawInfo, SelectionState}, - time_graph::{GraphData, variants::percent::PercentTimeGraph}, + time_graph::{GraphData, PercentTimeGraph}, }, drawing_utils::should_hide_x_label, }, diff --git a/src/canvas/widgets/mem_graph.rs b/src/canvas/widgets/mem_graph.rs index a3475ef0..a8c00c3c 100644 --- a/src/canvas/widgets/mem_graph.rs +++ b/src/canvas/widgets/mem_graph.rs @@ -10,7 +10,7 @@ use crate::{ app::{App, data::Values}, canvas::{ Painter, - components::time_graph::{GraphData, variants::percent::PercentTimeGraph}, + components::time_graph::{GraphData, PercentTimeGraph}, drawing_utils::should_hide_x_label, }, collection::memory::MemData,