File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const BOLD_YELLOW: &str = "\x1b[1;33m";
1515pub async fn print_list ( app_details : & [ AppAttributes ] ) {
1616 for ( i, details) in app_details. iter ( ) . enumerate ( ) {
1717 println ! ( "\n {RESET}{BOLD_MAGENTA} ┏━━━━━━━━━━━━━━━━┓" ) ;
18- println ! ( "{RESET}{BOLD_RED} ┃ {RESET}{BOLD_GREEN} App_{i} {RESET}{BOLD_RED}┃" , ) ;
18+ println ! ( "{RESET}{BOLD_RED} ┃ {RESET}{BOLD_GREEN} App_{i:<9 } {RESET}{BOLD_RED}┃" , ) ;
1919 println ! ( "{RESET}{BOLD_YELLOW} ┗━━━━━━━━━━━━━━━━┛" ) ;
2020 println ! (
2121 "\n {BOLD_GREEN} Name: {RESET}{}" ,
@@ -47,7 +47,7 @@ pub async fn print_list(app_details: &[AppAttributes]) {
4747pub async fn print_info ( app_details : & mut [ AppAttributes ] , system_details : & mut SystemAttributes ) {
4848 for ( i, details) in app_details. iter ( ) . enumerate ( ) {
4949 println ! ( "\n {RESET}{BOLD_MAGENTA} ┏━━━━━━━━━━━━━━━━┓" ) ;
50- println ! ( "{RESET}{BOLD_RED} ┃ {RESET}{BOLD_GREEN} App_{i} {RESET}{BOLD_RED}┃" ) ;
50+ println ! ( "{RESET}{BOLD_RED} ┃ {RESET}{BOLD_GREEN} App_{i:<9 } {RESET}{BOLD_RED}┃" ) ;
5151 println ! ( "{RESET}{BOLD_YELLOW} ┗━━━━━━━━━━━━━━━━┛" ) ;
5252
5353 println ! (
You can’t perform that action at this time.
0 commit comments