diff --git a/Cargo.toml b/Cargo.toml index 66e6fbc..0ec22cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "svc16" -version = "0.4.1" +version = "0.4.2" edition = "2021" authors = ["Jan Neuendorf"] description = "An emulator for a simple virtual computer" diff --git a/src/main.rs b/src/main.rs index 93ef093..7afe7b4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,6 +62,11 @@ fn main() -> Result<()> { } if input.key_pressed_logical(Key::Character("p")) { paused = !paused; + if paused { + window.set_title("SVC16 (paused)"); + } else { + window.set_title("SVC16"); + } } if input.key_pressed_logical(Key::Character("r")) { engine = Engine::new(initial_state.clone());