refactor print in the midle function

This commit is contained in:
2024-11-29 20:12:07 +01:00
parent e5c2ae6da5
commit 83c8f8a324
5 changed files with 43 additions and 47 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
#include <curses.h>
#include <string>
void safe_exit(int code);
std::string bool_to_string(bool bool_in);
std::string SoRAuthFile(bool save, std::string data);
void get_input_and_login();
void get_input_and_login();
void print_in_middle(WINDOW *win, int starty, int startx, int width,
char *string, chtype color);