[Ysmv7-cvs] CVS: ysmv7/src YSM_Prompt.c,1.121,1.122
Brought to you by:
rad2k
From: rad2k <ra...@us...> - 2003-05-13 02:35:14
|
Update of /cvsroot/ysmv7/ysmv7/src In directory sc8-pr-cvs1:/tmp/cvs-serv4737 Modified Files: YSM_Prompt.c Log Message: restored some code i had wiped out which is pretty much needed for not loosing 2 bytes after a special key (i.e.: ESC) Index: YSM_Prompt.c =================================================================== RCS file: /cvsroot/ysmv7/ysmv7/src/YSM_Prompt.c,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** YSM_Prompt.c 11 May 2003 04:49:15 -0000 1.121 --- YSM_Prompt.c 13 May 2003 02:35:11 -0000 1.122 *************** *** 482,485 **** --- 482,496 ---- break; #endif + default: + /* Although this might seem wrong, we need + * this default case for not loosing the next + * 2 characters after an input special. (ESC?) + */ + Input_Special = 0; + YSM_Command[Curr_CMDLEN] = + YSM_UserInput; + Curr_CMDLEN++; + putch( YSM_UserInput ); + return; } #ifndef WIN32 |