mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-25 14:44:39 +02:00
change: always highlight selected cpu
This commit is contained in:
parent
e6379982f1
commit
e2e1ac3006
@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- 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.
|
||||||
|
|
||||||
## [0.4.3] - 2020-05-15
|
## [0.4.3] - 2020-05-15
|
||||||
|
|
||||||
### Other
|
### Other
|
||||||
|
@ -260,7 +260,7 @@ impl CpuGraphWidget for Painter {
|
|||||||
} else {
|
} else {
|
||||||
Some(Row::StyledData(
|
Some(Row::StyledData(
|
||||||
cpu_string_row.into_iter(),
|
cpu_string_row.into_iter(),
|
||||||
if is_on_widget && itx == offset_scroll_index {
|
if itx == offset_scroll_index {
|
||||||
self.colours.currently_selected_text_style
|
self.colours.currently_selected_text_style
|
||||||
} else if itx == ALL_POSITION {
|
} else if itx == ALL_POSITION {
|
||||||
self.colours.all_colour_style
|
self.colours.all_colour_style
|
||||||
|
Loading…
x
Reference in New Issue
Block a user