Flash commandline each time completion fails, not just the first one

darcs-hash:20061130235852-ac50b-de6e94a878e7a6de6ec9f34289437aec87d95b07.gz
This commit is contained in:
axel
2006-12-01 09:58:52 +10:00
parent de181c91d5
commit c8162c2900

View File

@@ -2189,10 +2189,7 @@ wchar_t *reader_readline()
if( !data->complete_func )
break;
if( !comp_empty && last_char == R_COMPLETE )
break;
if( comp_empty )
if( comp_empty || last_char != R_COMPLETE)
{
wchar_t *begin, *end;
wchar_t *token_begin, *token_end;