FreeBASIC  0.91.0
io_input.c
Go to the documentation of this file.
1 /* console input helpers */
2 
3 #include "../fb.h"
4 #include "fb_private_console.h"
5 
7 {
8  /* FIXME: We need to find a method to set a flag whenver a NEW character
9  * was passed to the input buffer. Maybe we can use something
10  * like ftell( stdin ) + some modifications of key input functions?
11  *
12  * INFO: Don't clear the input buffer in any case because this will
13  * cause more trouble than not clearing the input buffer.
14  *
15  * mjs, 2005-10-13
16  */
17  return fb_KeyHit();
18 }