Add program::Preset and emulator::Mode

This commit is contained in:
Héctor Ramón Jiménez 2025-06-04 19:17:11 +02:00
parent 927d5b7cba
commit 73f5569f28
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
17 changed files with 305 additions and 39 deletions

View file

@ -197,7 +197,7 @@ where
match &self.mode {
Mode::Hidden => {
self.mode = Mode::Open {
tester: Tester::new(),
tester: Tester::new(program),
};
}
Mode::Open { tester } if !tester.is_busy() => {