|
From: Jason F. <jas...@ya...> - 2002-05-04 13:11:44
|
Hey all The console saga continues.. I've started to look at the input problems with MC now. Under Windows the input works fine. Under ReactOS the console is clearly reading in line mode. In (rosapps/mc/pc/key_nt.c) MC makes this call (line 187): win32APICALL(ReadConsoleInput(hConsoleInput, &ir, 1, &dw)); It then goes on to process the one key returned. It obviously expects not to be in line mode. Futher up in the same file, in init_key, hConsoleInput is retrieved as follows: win32APICALL_HANDLE (hConsoleInput, GetStdHandle (STD_INPUT_HANDLE)); I'm really starting to doubt that the console is expected to be in line mode by default... is that documented anywhere? - Jason __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com |