| 706 |
iflush(); |
iflush(); |
| 707 |
|
|
| 708 |
str_len = 0; |
str_len = 0; |
|
input_ok = 0; |
|
| 709 |
ch = igetch_t(MAX_DELAY_TIME); |
ch = igetch_t(MAX_DELAY_TIME); |
| 710 |
while (!SYS_server_exit && !input_ok) |
while (!SYS_server_exit) |
| 711 |
{ |
{ |
| 712 |
// extended key handler |
// extended key handler |
| 713 |
if (editor_display_key_handler(&ch, &ctx) != 0) |
if (editor_display_key_handler(&ch, &ctx) != 0) |
| 812 |
{ |
{ |
| 813 |
if (line_current - output_current_row + row_pos <= 0 && col_pos <= 1) // Forbidden |
if (line_current - output_current_row + row_pos <= 0 && col_pos <= 1) // Forbidden |
| 814 |
{ |
{ |
| 815 |
ch = igetch_t(MAX_DELAY_TIME); |
break; // force output prior operation result if any |
|
continue; |
|
| 816 |
} |
} |
| 817 |
|
|
| 818 |
col_pos--; |
col_pos--; |