Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Librairie Graphics sous Windows : read_key #3158

Closed
vicuna opened this issue Jan 16, 2002 · 1 comment
Closed

Librairie Graphics sous Windows : read_key #3158

vicuna opened this issue Jan 16, 2002 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jan 16, 2002

Original bug ID: 816
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: David ROGER
Version: 3.04
OS: Windows 98 S.E.
Submission from: am (140.77.128.171)

avec la version 3.04 uniquement : les fonctions read_key et wait_next_event de
la librairie Graphics renvoient toujours le caractère 'A', quelle que soit la
touche pressée.
Je n'ai essayé que dans la boucle d'interaction (toplevel).

J'observe ce bug avec le programme :

#load "graphics.cma";;
open Graphics;;
open_graph "";;
read_key ();;

Ou encore

#load "graphics.cma";;
open Graphics;;
open_graph "";;
let s = wait_next_event [Key_pressed] in s.key;;

Dans les deux cas, caml me repond :
char 'A'

@vicuna
Copy link
Author

vicuna commented Apr 16, 2002

Comment author: administrator

Fixed (along with other oddities in event processing) 2002-04-16 by XL

@vicuna vicuna closed this as completed Apr 16, 2002
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant