summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-12-31 20:47:33 -0500
committerGitHub <noreply@github.com>2022-12-31 20:47:33 -0500
commitb7bf57481f51870d25dec19b422486c8ecc56dca (patch)
tree5d5a6d6d3001fb8598135d01af2209fb2e259eb9 /src
parente65432274307efe9acfb935ee9f9e596f47f716a (diff)
docs: update demo to 0.7.0 (#941)
* docs: update demo to 0.7.0 * update again
Diffstat (limited to 'src')
-rw-r--r--src/widgets/process_table/proc_widget_data.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/process_table/proc_widget_data.rs b/src/widgets/process_table/proc_widget_data.rs
index bc61de20..bcc7d569 100644
--- a/src/widgets/process_table/proc_widget_data.rs
+++ b/src/widgets/process_table/proc_widget_data.rs
@@ -222,6 +222,7 @@ impl ProcWidgetData {
impl DataToCell<ProcColumn> for ProcWidgetData {
fn to_cell<'a>(&'a self, column: &ProcColumn, calculated_width: u16) -> Option<Text<'a>> {
// TODO: Optimize the string allocations here...
+ // TODO: Also maybe just pull in the to_string call but add a variable for the differences.
Some(truncate_to_text(
&match column {
ProcColumn::CpuPercent => {