LMH01 / alpha_tui

My attempt to write a runtime environment and debugger for the Alpha-Notation used in my SysInf lecture.
GNU General Public License v3.0
14 stars 1 forks source link

Enable "Run to end" and "Run custom instruction" before "Start" is hit #45

Open reeelix opened 4 months ago

reeelix commented 4 months ago

In "Load"-Mode, enable these hotkeys already before the first instruction of a program is executed

LMH01 commented 4 months ago

This could be done but I think that Start should then be renamed to Run first instruction, and the key should then also be changed from s to n. This way everything is odered nicely, when an alpha notation program is loaded.

To implement that change, the keybinding action for s/n would have to be updated and Run to end and Run custom instruction will also need to perform their action when the state of the app is Default. I don't think that this change is too complicated.

reeelix commented 4 months ago

Sounds good. Keeping Start with shortcut s would also be valid in my point of view, as we'd keep consistency with other debuggers like GDB this way

LMH01 commented 4 months ago

Good point, we can do it this way.