diff --git a/src/bubbles.rs b/src/bubbles.rs index 9978177..9635f87 100644 --- a/src/bubbles.rs +++ b/src/bubbles.rs @@ -160,7 +160,7 @@ impl BubbleConfig { " ", ); let bubble_bottom = manipulate::pad_left( - &format!(" {} ", self.bottom.repeat(longest_length + 2),), + &format!(" {} ", self.bottom.repeat(longest_length + 2),), left_pad_length, " ", ); diff --git a/test b/test index c70701c..bba5710 100755 --- a/test +++ b/test @@ -19,7 +19,7 @@ echo | ./target/debug/kijetesantakaluotokieni echo mu | ./target/debug/kijetesantakaluotokieni --nimi soweli -echo 1234567890123 | ./target/debug/kijetesantakaluotokieni --lape +echo mi wile e supa lape | ./target/debug/kijetesantakaluotokieni --lape echo 12345678901234 | ./target/debug/kijetesantakaluotokieni echo Pingo pi n\'t go li sitelen | ./target/debug/kijetesantakaluotokieni --pilin --kule unu --kule suli --nimi lili