Stephen Warren wrote:
> Phil Dibowitz wrote:
>> Stephen Warren wrote:
>>> There is one cosmetic bug, in that print CTRL-H doesn't do a
>>> backspace on Windows, so the percentage progress messages looks like
>>> turd. I'll see if that's easy to fix...
>>
>> Eh, what? That should never happen on windows:
>>
>> #ifdef WIN32
>>         GetConsoleScreenBufferInfo(con, &sbi);
>>         SetConsoleCursorPosition(con, sbi.dwCursorPosition);
>> #else
>>         if (count != 0) {
>>                 printf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b");
>>         }
>> #endif
>>
>> That code never gets executed if WIN32 is defined... something's very
>> odd...
> 
> Yeah, I hadn't looked at the code, and was assuming that ^H wasn't
> working. In fact, it the issue was that the WIN32 code branch is a no-op.

Ya know, I always THOUGHT that to be the case. I could never understand how
that code worked.

Thanks for the patch, I'll apply it now.

-- 
Phil Dibowitz                             [EMAIL PROTECTED]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming


Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
concordance-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to