Formatting for tables

main
Michal 2 years ago
parent 8785d687ee
commit 3ddf25bb99

@ -211,14 +211,14 @@ pub fn info(verbose: bool) {
// Print all of the info // Print all of the info
info!("{}", name); info!("{}", name);
info!("Local Repositories: {}", len); info!("Total Repositories: {}", len.to_string().green());
println!("{}", table); println!("{}", table);
if config.mode.workspace.is_some() && config.mode.workspace.as_ref().unwrap().git_info { if config.mode.workspace.is_some() && config.mode.workspace.as_ref().unwrap().git_info {
info!( info!(
"D: Dirty - Unstaged Changes \n \ "D: Dirty - Unstaged Changes \n \
Pl: Pull - Changes at Remote \n \ Pl: Pull - Changes at Remote \n \
Ps: Push - Unpushed Changes \n \ Ps: Push - Unpushed Changes \n \
{}: Applies, {}: Does Not Apply", {}: Dirty, {}: Clean",
" ".on_red(), " ".on_red(),
if config.mode.workspace.unwrap().colorblind { if config.mode.workspace.unwrap().colorblind {
" ".on_bright_blue() " ".on_bright_blue()

Loading…
Cancel
Save