| 729 |
ch = igetch(100); // 0.1 second |
ch = igetch(100); // 0.1 second |
| 730 |
if (ch == KEY_NULL || ch == KEY_TIMEOUT) // Ignore received bytes if no futher input |
if (ch == KEY_NULL || ch == KEY_TIMEOUT) // Ignore received bytes if no futher input |
| 731 |
{ |
{ |
| 732 |
|
#ifdef _DEBUG |
| 733 |
log_error("Ignore %d bytes of incomplete UTF8 character\n", str_len); |
log_error("Ignore %d bytes of incomplete UTF8 character\n", str_len); |
| 734 |
|
#endif |
| 735 |
str_len = 0; |
str_len = 0; |
| 736 |
break; |
break; |
| 737 |
} |
} |
| 920 |
case KEY_TIMEOUT: |
case KEY_TIMEOUT: |
| 921 |
goto cleanup; |
goto cleanup; |
| 922 |
case Ctrl('W'): |
case Ctrl('W'): |
| 923 |
|
case Ctrl('X'): |
| 924 |
loop = 0; |
loop = 0; |
| 925 |
break; |
break; |
| 926 |
case Ctrl('S'): // Start of line |
case Ctrl('S'): // Start of line |