--- lbbs/include/screen.h 2025/05/16 12:23:57 1.5 +++ lbbs/include/screen.h 2025/05/28 07:30:23 1.9 @@ -17,6 +17,8 @@ #ifndef _SCREEN_H_ #define _SCREEN_H_ +#define CTRL_SEQ_CLR_LINE "\033[K" + extern void moveto(int row, int col); extern void clrtoeol(); @@ -37,9 +39,9 @@ extern int get_data(int row, int col, ch extern int display_file_ex(const char *filename, int begin_line, int wait); -extern int show_top(char *status); +extern int show_top(const char *str_left, const char *str_center, const char *str_right); -extern int show_bottom(char *msg); +extern int show_bottom(const char *msg); extern int show_active_board();