search for: charreadconsol

Displaying 1 result from an estimated 1 matches for "charreadconsol".

Did you mean: charreadconsole
2012 Jan 13
0
WISHLIST: Be able to timeout readline()/stdin via setTimeLimit in all consoles
...GuiReadConsole * case 2 and 3: ThreadedReadConsole * case 4: FileReadConsole * ThreadedReadConsole wake up our 'reader thread' and wait until * a new line of input is available. The 'reader thread' uses * InThreadReadConsole to get it. InThreadReadConsole points to: * case 2: CharReadConsole * case 3: FileReadConsole Here I get a bit lost, but there is: /*2: from character console with getline (only used as InThreadReadConsole)*/ static int CharReadConsole(const char *prompt, char *buf, int len, int addtohistory) { int res = getline(prompt, buf, len); if (addtohistory) gl_h...