From a9aebcfca91f4e964ab615a3b388b1d30619d133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Mon, 7 Aug 2023 23:41:50 +0100 Subject: [PATCH] chore: new print info --- src/state.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/state.rs b/src/state.rs index c6b098c7..dc9146a4 100644 --- a/src/state.rs +++ b/src/state.rs @@ -34,8 +34,10 @@ impl BeesState { let title_l: String = format!("{:width$}", "Title", width = column_length); let version_l: String = format!("{:width$}", "Version", width = column_length); let model_l: String = format!("{:width$}", "Model", width = column_length); + let ram_l: String = format!("{:width$}", "RAM", width = column_length); + let vram_l: String = format!("{:width$}", "VRAM", width = column_length); format!( - "{} {}\n{} {}\n{} {}.{}\n{} {}\n", + "{} {}\n{} {}\n{} {}.{}\n{} {}\n{} {}\n{} {}\n", emulator_l, self.name.name, title_l, @@ -45,6 +47,10 @@ impl BeesState { self.core.minor, model_l, self.core.model, + ram_l, + self.core.ram.size, + vram_l, + self.core.vram.size, ) } -- GitLab