Project

General

Profile

Actions

Bug #360

closed

Inkey$ returning multi-character results for modifier keys. (Should return nothing.)

Added by Brian Flanagan over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
04/28/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Inkey$ should always return a single character code. It should also save a copy of the current value of the modifier keys in ScanShift

In the following example:

Curs Off
prevKY$=""
Do
    KY$=Inkey$ : Wait Vbl
    If KY$<>prevKY$ And KY$ <> "" Then Locate 0,0 : Print KY$;"                     "
    prevKY$=KY$
Loop

Typing a capital A will result in:

ShiftA

...instead of:

A
Actions #1

Updated by Brian Flanagan over 4 years ago

  • Assignee set to Brian Flanagan
  • Target version set to 0.9.9.4-r3

There were also many other keys besides the modifiers.

Finally fixed!

Actions #2

Updated by Brian Flanagan over 4 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Brian Flanagan over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF