Add UI for a terminal

This commit is contained in:
2025-05-30 22:25:08 -04:00
parent 8be866656a
commit 2d18aeaba2
5 changed files with 79 additions and 1 deletions
+6
View File
@@ -204,6 +204,12 @@ impl GameWindow {
}
});
ui.menu_button("Tools", |ui| {
if ui.button("Terminal").clicked() {
self.proxy
.send_event(UserEvent::OpenTerminal(self.sim_id))
.unwrap();
ui.close_menu();
}
if ui.button("GDB Server").clicked() {
self.proxy
.send_event(UserEvent::OpenDebugger(self.sim_id))