/[LeafOK_CVS]/lbbs/src/editor.c
ViewVC logotype

Diff of /lbbs/src/editor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.32 by sysadm, Fri Jun 27 10:14:47 2025 UTC Revision 1.34 by sysadm, Fri Jun 27 13:26:59 2025 UTC
# Line 706  int editor_display(EDITOR_DATA *p_editor Line 706  int editor_display(EDITOR_DATA *p_editor
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)
# Line 813  int editor_display(EDITOR_DATA *p_editor Line 812  int editor_display(EDITOR_DATA *p_editor
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--;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1