diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-12-31 20:47:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-31 20:47:33 -0500 |
commit | b7bf57481f51870d25dec19b422486c8ecc56dca (patch) | |
tree | 5d5a6d6d3001fb8598135d01af2209fb2e259eb9 | |
parent | e65432274307efe9acfb935ee9f9e596f47f716a (diff) |
docs: update demo to 0.7.0 (#941)
* docs: update demo to 0.7.0
* update again
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | assets/demo.gif | bin | 7110196 -> 3781039 bytes | |||
-rw-r--r-- | src/widgets/process_table/proc_widget_data.rs | 1 |
3 files changed, 2 insertions, 1 deletions
@@ -12,8 +12,8 @@ </div> -<img src="assets/demo.gif" alt="Quick demo recording showing off bottom's searching, expanding, and process killing."/> <div align="center"> + <img src="assets/demo.gif" alt="Quick demo recording showing off bottom's searching, expanding, and process killing."/> <p> Demo GIF using the <a href="https://github.com/morhetz/gruvbox">Gruvbox</a> theme (<code>--color gruvbox</code>), along with <a href="https://www.ibm.com/plex/">IBM Plex Mono</a> and <a href="https://sw.kovidgoyal.net/kitty/">Kitty</a> </p> diff --git a/assets/demo.gif b/assets/demo.gif Binary files differindex 1f2b8419..80aff6ad 100644 --- a/assets/demo.gif +++ b/assets/demo.gif 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 => { |