input problems
Blitz3D Forums/Blitz3D Programming/input problems
| ||
I'm having trouble with the input command and keyhit commands. for example, I'm running my program, I press 'h' to do something, and later I do an input(), and there is an 'h' in my input line already, so I have to backspace through it, and then type what I needed to type. This becomes doubly troublesome when I use ENTER for something, and then do an input, because it takes any letters from previous keyhits and then does my ENTER, so I may end up with "wtwtws" in my input, then it enters it because I pressed enter earlier. Does anybody know how to fix this? Thanks for any help. |
| ||
Flushkeys() This clears the buffer of any keystrokes. :) |