/[LeafOK_CVS]/lbbs/include/screen.h
ViewVC logotype

Diff of /lbbs/include/screen.h

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

Revision 1.16 by sysadm, Wed Jul 2 04:17:33 2025 UTC Revision 1.20 by sysadm, Tue Nov 4 13:49:50 2025 UTC
# Line 1  Line 1 
1  /***************************************************************************  /* SPDX-License-Identifier: GPL-3.0-or-later */
2                              screen.h  -  description  /*
3                               -------------------   * screen
4      copyright            : (C) 2004-2025 by Leaflet   *   - advanced telnet-based user interactive input / output features
5      email                : leaflet@leafok.com   *
6   ***************************************************************************/   * Copyright (C) 2004-2025 by Leaflet <leaflet@leafok.com>
7     */
 /***************************************************************************  
  *                                                                         *  
  *   This program is free software; you can redistribute it and/or modify  *  
  *   it under the terms of the GNU General Public License as published by  *  
  *   the Free Software Foundation; either version 3 of the License, or     *  
  *   (at your option) any later version.                                   *  
  *                                                                         *  
  ***************************************************************************/  
8    
9  #ifndef _SCREEN_H_  #ifndef _SCREEN_H_
10  #define _SCREEN_H_  #define _SCREEN_H_
# Line 41  extern void clrtobot(int line_begin); Line 33  extern void clrtobot(int line_begin);
33  extern void clearscr();  extern void clearscr();
34    
35  extern int press_any_key();  extern int press_any_key();
36    extern int press_any_key_ex(const char *msg, int sec);
37    
38  extern void set_input_echo(int echo);  extern void set_input_echo(int echo);
39    
40  extern int str_input(char *buffer, int buffer_length, int echo_mode);  extern int str_input(char *buffer, int buffer_length, int echo_mode);
41  extern int get_data(int row, int col, char *prompt, char *buffer, int buffer_length, int max_display_len, int echo_mode);  extern int get_data(int row, int col, char *prompt, char *buffer, int buffer_length, int max_display_len);
42    
43  // eof_exit = 0 : Do not exit at EOF  // eof_exit = 0 : Do not exit at EOF
44  //            1 : Prompt for any key at EOF, then exit  //            1 : Prompt for any key at EOF, then exit


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

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