Project

General

Profile

Actions

Bug #860

open

Pressing ESC at a program end does not enter Direct Mode

Added by Wayne Johnson about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
11/06/2021
Due date:
% Done:

0%

Estimated time:
2:00 h
Affected version:

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:

  1. A simple program: Print "Hello"
  2. F2 to run in AOZ Viewer
  3. Notice: End of program at line 1 Direct Mode
  4. Press Esc
  5. Notice clears but direct mode does not appear.
  6. Click the wizard icon and direct mode appears.
Actions #1

Updated by Brian Flanagan about 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:

  1. If you're in the Editor and you hit ESC,
    it's supposed to go to Direct Mode.

  2. If you're in Direct Mode and you hit ESC,
    it's supposed to go back to the Editor.

Actions #2

Updated by Francois Lionet about 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...

Actions

Also available in: Atom PDF