File: README.txt

package info (click to toggle)
pcbasic 2.0.7-9
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 35,416 kB
  • sloc: python: 28,411; sh: 103; makefile: 10
file content (7 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
this proposed test aims to use --keys to trigger key macros and key event traps
this doesn't work, for at least two reasons:
1. --keys injects only eascii, not the scancode, while event traps are scancode based
2. event traps pick keypress events out before they enter the key buffer, while --keys injects into the key buffer
3. even if the above are amended, the key events are only activated when the program runs, while the injection through the Session object has to happen before the program takes control. this would perhaps be possible in a test frame interface

A similar issue would occur if we wanted to test key definitions (KEYDEF.BAS)