🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3925

wait for a keystroke

#3925
From: Keith Ford x8614
Date: Fri, 07 Dec 1990 15:16
13 lines
1087 bytes
I am writing a program for my daughter where I have an animated
character that moves whenever "any" key is pressed.  The key
press simply causes to chatacter to continue along it's programmed
path.  If she decides to hold a key down forever, I would like for
that to be ignored and to not fill up the buffer and start beeping,
but just let me know when a key has been pressed when I ask.
I.E. a key press is what causes the action to continue.  Any help
would be appreciated.
-- 
| ...!uunet!ingr!fordke    OR    fordke@ingr.com
| Micro Magic BBS     (Fidonet: 1:373/12,   MaBell: +1 205 830 2362)
| "and the Trees are all kept equal by hatchet, axe, and saw." -Rush
Technical Details
Message-ID: <1990Dec7.151624.19695@infonode.ingr.com>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!infonode!fordke

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!infonode!fordke
From: fordke@infonode.ingr.com (Keith Ford x8614)
Newsgroups: comp.os.msdos.programmer
Subject: wait for a keystroke
Message-ID: <1990Dec7.151624.19695@infonode.ingr.com>
Date: 7 Dec 90 15:16:24 GMT
Organization: Intergraph Corp. Huntsville, AL
Lines: 13