mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-10 14:44:18 +00:00
docs: update demo to 0.7.0 (#941)
* docs: update demo to 0.7.0 * update again
This commit is contained in:
parent
e654322743
commit
b7bf57481f
3 changed files with 2 additions and 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>
|
||||
|
|
BIN
assets/demo.gif
BIN
assets/demo.gif
Binary file not shown.
Before Width: | Height: | Size: 6.8 MiB After Width: | Height: | Size: 3.6 MiB |
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue