| 17 |
#ifndef _SCREEN_H_ |
#ifndef _SCREEN_H_ |
| 18 |
#define _SCREEN_H_ |
#define _SCREEN_H_ |
| 19 |
|
|
| 20 |
|
#define CTRL_SEQ_CLR_LINE "\033[K" |
| 21 |
|
|
| 22 |
extern void moveto(int row, int col); |
extern void moveto(int row, int col); |
| 23 |
|
|
| 24 |
extern void clrtoeol(); |
extern void clrtoeol(); |
| 37 |
|
|
| 38 |
extern int get_data(int row, int col, char *prompt, char *buffer, int buffer_length, int echo_mode); |
extern int get_data(int row, int col, char *prompt, char *buffer, int buffer_length, int echo_mode); |
| 39 |
|
|
| 40 |
extern int display_file_ex(const char *filename, int begin_line, int wait); |
extern int display_data(const void *p_data, long line_total, const long *p_line_offsets, int begin_line, int wait); |
| 41 |
|
|
| 42 |
|
extern int display_file(const char *filename, int begin_line, int wait); |
| 43 |
|
|
| 44 |
extern int show_top(char *status); |
extern int show_top(const char *str_left, const char *str_center, const char *str_right); |
| 45 |
|
|
| 46 |
extern int show_bottom(char *msg); |
extern int show_bottom(const char *msg); |
| 47 |
|
|
| 48 |
extern int show_active_board(); |
extern int show_active_board(); |
| 49 |
|
|