/[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.138 by sysadm, Sun Dec 28 01:46:21 2025 UTC Revision 1.140 by sysadm, Sun Jan 18 09:14:57 2026 UTC
# Line 3  Line 3 
3   * screen   * screen
4   *   - advanced telnet-based user interactive input / output features   *   - advanced telnet-based user interactive input / output features
5   *   *
6   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>   * Copyright (C) 2004-2026  Leaflet <leaflet@leafok.com>
7   */   */
8    
9  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
# Line 98  inline int press_any_key() Line 98  inline int press_any_key()
98    
99  int press_any_key_ex(const char *msg, int sec)  int press_any_key_ex(const char *msg, int sec)
100  {  {
         int ch = 0;  
         int duration = 0;  
         time_t t_begin = time(NULL);  
   
101          moveto(SCREEN_ROWS, 0);          moveto(SCREEN_ROWS, 0);
102          clrtoeol();          clrtoeol();
103    
104          prints(msg);          prints(msg);
105          iflush();          iflush();
106    
107            return press_any_key_no_prompt(sec);
108    }
109    
110    inline int press_any_key_no_prompt(int sec)
111    {
112            int ch = 0;
113            int duration = 0;
114            time_t t_begin = time(NULL);
115    
116          igetch_reset();          igetch_reset();
117    
118          do          do


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

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