Bug #860
openPressing ESC at a program end does not enter Direct Mode
0%
Description
Problem: when a program is run with F2, and completes in the AOZ Viewer, the note at the bottom says:
Direct Mode
But pressing ESC makes this notice go away.
However, you can you press the Wizard icon to open Direct Mode anytime, but not with ESC.
To reproduce:
- A simple program: Print "Hello"
- F2 to run in AOZ Viewer
- Notice: End of program at line 1 Direct Mode
- Press Esc
- Notice clears but direct mode does not appear.
- Click the wizard icon and direct mode appears.
Updated by Brian Flanagan almost 3 years ago
- Assignee set to Baptiste Bideaux
- Estimated time set to 2:00 h
Verified, this is a problem.
Further information:
ESC is supposed to work as it did in AMOS:
If you're in the Editor and you hit ESC,
it's supposed to go to Direct Mode.If you're in Direct Mode and you hit ESC,
it's supposed to go back to the Editor.
Updated by Francois Lionet almost 3 years ago
- Status changed from New to Resolved
- Assignee changed from Baptiste Bideaux to Francois Lionet
Finally fixed! No easy as keyboard message come to multiples places, yet it seems to work.
ESCAPE in the editor-> open direct mode
ESCAPE in direct mode -> go back tot he editor
ESCAPE when a program ends-> open direct mode
RETURN when a progrqam end-> go back to editor
Now to accelerate transpilation when going into direct mode (and add screen sliding? ;) and we will be just as comfortable as in AMOS...