We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eaa692 commit 99c599fCopy full SHA for 99c599f
hacker/atomic/src/help.rs
@@ -1 +1,8 @@
1
-
+use colored::*;
2
+use std::fs;
3
+pub fn display_ascii() {
4
+ match fs::read_to_string("/usr/share/HackerOS/Config-Files/HackerOS-Ascii") {
5
+ Ok(content) => println!("{}", content.bright_cyan().bold().on_black()),
6
+ Err(_) => println!("{}", "File not found".red().bold().on_black()),
7
+ }
8
+}
0 commit comments