Skip to content

Commit 43b8082

Browse files
committed
Remove some padding and change show emoji
1 parent 60ba649 commit 43b8082

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

β€Žrustoku-cli/src/main.rsβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn main() {
6161

6262
let result = match cli.command {
6363
Commands::Generate { clues } => generate_board(clues).map(|board| {
64-
println!("🎲 Generated puzzle with {} clues:\n", clues);
64+
println!("🎲 Generated puzzle with {} clues:", clues);
6565
println!("{}", board)
6666
}),
6767
Commands::Solve { solve_command } => match solve_command {
@@ -70,7 +70,7 @@ fn main() {
7070
match rustoku.solve_any() {
7171
None => println!("🚫 No solution found"),
7272
Some(solution) => {
73-
println!("🎯 Solution found:\n");
73+
println!("🎯 Solution found:");
7474
println!("{}", solution);
7575
}
7676
}
@@ -81,7 +81,7 @@ fn main() {
8181
match solutions.len() {
8282
0 => println!("🚫 No solutions found"),
8383
1 => {
84-
println!("🎯 Found 1 unique solution:\n");
84+
println!("🎯 Found 1 unique solution:");
8585
println!("{}", solutions[0]);
8686
}
8787
n if n <= 5 => {
@@ -121,7 +121,7 @@ fn main() {
121121
}
122122
}),
123123
Commands::Show { puzzle } => Rustoku::new_from_str(&puzzle).map(|rustoku| {
124-
println!("πŸ“‹ Puzzle display:\n");
124+
println!("🎨 Show puzzle:");
125125
println!("{}", rustoku.board);
126126
}),
127127
};

0 commit comments

Comments
Β (0)