summaryrefslogtreecommitdiffstats
path: root/src/canvas/widgets/process_table.rs
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-08-12 00:27:02 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2020-08-12 00:27:02 -0400
commit6e38d7311606c9212dd21dddb1878f93221bff7d (patch)
treed7746a8f3159cbb5e01c6cd28ce7169c4c15e740 /src/canvas/widgets/process_table.rs
parent60f47594942f0f99c6cfa515a91e8137d261ddff (diff)
change: Refactor dd drawing code
This also slightly improves how we generate the widths/heights to be less... terrible. Note this is not done, unfortunately. This requires tui-rs' wrapped paragraph height PR to land and release so I can properly calculate the height offsets. See https://github.com/fdehau/tui-rs/pull/349 for details.
Diffstat (limited to 'src/canvas/widgets/process_table.rs')
-rw-r--r--src/canvas/widgets/process_table.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canvas/widgets/process_table.rs b/src/canvas/widgets/process_table.rs
index 3faab2ba..2f041a16 100644
--- a/src/canvas/widgets/process_table.rs
+++ b/src/canvas/widgets/process_table.rs
@@ -151,7 +151,7 @@ impl ProcessTableWidget for Painter {
let wps = "W/s".to_string();
let total_read = "Read".to_string();
let total_write = "Write".to_string();
- let process_state = "State".to_string();
+ let process_state = "State ".to_string();
let direction_val = if proc_widget_state.process_sorting_reverse {
"▼".to_string()