Skip to content

Commit bbda405

Browse files
committed
Add visual marker
1 parent 2c08598 commit bbda405

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Diff for: src/main.rs

+21
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,27 @@ impl fmt::Display for Info {
157157
self.license
158158
)?;
159159

160+
writeln!(
161+
buffer,
162+
"\n{0}{1}{2}{3}{4}{5}{6}{7}{8}{9}{10}{11}{12}{13}{14}{15}",
163+
" ".on_black(),
164+
" ".on_red(),
165+
" ".on_green(),
166+
" ".on_yellow(),
167+
" ".on_blue(),
168+
" ".on_magenta(),
169+
" ".on_cyan(),
170+
" ".on_white(),
171+
" ".on_bright_black(),
172+
" ".on_bright_red(),
173+
" ".on_bright_green(),
174+
" ".on_bright_yellow(),
175+
" ".on_bright_blue(),
176+
" ".on_bright_magenta(),
177+
" ".on_bright_cyan(),
178+
" ".on_bright_white(),
179+
)?;
180+
160181
let logo = self.get_ascii();
161182
let mut logo_lines = logo.lines();
162183
let mut info_lines = buffer.lines();

0 commit comments

Comments
 (0)