Skip to content

Commit

Permalink
include custom build tag in about menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Strophox committed Aug 24, 2024
1 parent f49d400 commit 9fb1a7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tetrs_terminal/src/terminal_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ use crate::{
game_mods,
};

const TAG: &str = "v0.2.1";

// NOTE: This could be more general and less ad-hoc. Count number of I-Spins, J-Spins, etc..
pub type RunningGameStats = ([u32; 5], Vec<u32>);

Expand Down Expand Up @@ -2118,7 +2120,7 @@ impl<T: Write> TerminalApp<T> {
fn about_menu(&mut self) -> io::Result<MenuUpdate> {
/* TODO: About menu. */
self.generic_placeholder_widget(
"About tetrs - Visit https:/Strophox/tetrs",
&format!("About tetrs {TAG} - Visit https:/Strophox/tetrs"),
vec![],
)
}
Expand Down

0 comments on commit 9fb1a7f

Please sign in to comment.