File tree Expand file tree Collapse file tree 3 files changed +36
-24
lines changed
Expand file tree Collapse file tree 3 files changed +36
-24
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " macmon"
3- version = " 0.3.2 "
3+ version = " 0.3.3 "
44edition = " 2021"
55
66[lints .rust ]
@@ -16,6 +16,6 @@ strip = false
1616clap = { version = " 4.5.20" , features = [" derive" ] }
1717core-foundation = " 0.10.0"
1818libc = " 0.2.161"
19- ratatui = { version = " 0.28.1 " , features = [" serde" ] }
20- serde = { version = " 1.0.210 " , features = [" derive" ] }
21- serde_json = " 1.0.129 "
19+ ratatui = { version = " 0.29.0 " , features = [" serde" ] }
20+ serde = { version = " 1.0.213 " , features = [" derive" ] }
21+ serde_json = " 1.0.132 "
Original file line number Diff line number Diff line change @@ -221,11 +221,11 @@ impl App {
221221 . padding ( Padding :: ZERO ) ;
222222
223223 if label_l. len ( ) > 0 {
224- block = block. title ( block :: Title :: from ( format ! ( " {label_l} " ) ) . alignment ( Alignment :: Left ) ) ;
224+ block = block. title_top ( Line :: from ( format ! ( " {label_l} " ) ) ) ;
225225 }
226226
227227 if label_r. len ( ) > 0 {
228- block = block. title ( block :: Title :: from ( format ! ( " {label_r} " ) ) . alignment ( Alignment :: Right ) ) ;
228+ block = block. title_top ( Line :: from ( format ! ( " {label_r} " ) ) . alignment ( Alignment :: Right ) ) ;
229229 }
230230
231231 block
You can’t perform that action at this time.
0 commit comments