Add Console Colors & Styles

This commit is contained in:
Alexander Medvedev committed 2024-08-21 20:08:14 +01:00
1 parent ee4bde9962
commit 13206d58d9
7 files changed
+64 -2

No files matched your search

+3 -1
View File
@@ -94,7 +94,9 @@ fn main() -> io::Result<()> {
stdin
.read_line(&mut out)
.expect("Failed to read console line");
handle_command(&mut commands::CommandSender::Console, &out);
if !out.is_empty() {
handle_command(&mut commands::CommandSender::Console, &out);
}
}
});
}