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

Diff of /lbbs/src/screen.c

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

Revision 1.79 by sysadm, Thu May 29 13:23:49 2025 UTC Revision 1.80 by sysadm, Fri May 30 00:20:53 2025 UTC
# Line 222  int get_data(int row, int col, char *pro Line 222  int get_data(int row, int col, char *pro
222          int len;          int len;
223    
224          moveto(row, col);          moveto(row, col);
225          prints(prompt);          prints("%s", prompt);
226          prints(buffer);          prints("%s", buffer);
227          iflush();          iflush();
228    
229          len = _str_input(buffer, buf_size, echo_mode);          len = _str_input(buffer, buf_size, echo_mode);
# Line 293  int display_data(const void *p_data, lon Line 293  int display_data(const void *p_data, lon
293                          strncat(buffer, "\033[m", sizeof(buffer) - 1 - strnlen(buffer, sizeof(buffer)));                          strncat(buffer, "\033[m", sizeof(buffer) - 1 - strnlen(buffer, sizeof(buffer)));
294    
295                          moveto(SCREEN_ROWS, 0);                          moveto(SCREEN_ROWS, 0);
296                          prints(buffer);                          prints("%s", buffer);
297                          iflush();                          iflush();
298    
299                          input_ok = 0;                          input_ok = 0;


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

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