Seems to work fine for me. Look at [input.vc in]
Sullied Chronicles (shameless plug:) if you'd like, but my switch, although larger looks much like that.
{
[snip]
switch(lastpressed)
{
[snip]
case SCAN_BACKSP:
if(len(char_buffer)) char_buffer = Left(char_buffer, len(char_buffer) - 1);
input_lbuffer = "";
[snip]
}
last_lastpressed = lastpressed;
lastpressed = 0;
next_repeat = timer + INITIAL_DELAY;
if(len(char_buffer) < 256) char_buffer = char_buffer + input_lbuffer;
}
??