Routine changes

master
Aadhavan Srinivasan 2 years ago
parent fb7e58d094
commit 98f063b92a

@ -1,2 +1,2 @@
main: main.c
gcc -o main main.c -lncurses
gcc -g -o main main.c texted.c -lncurses

@ -1,6 +1,6 @@
#include <ncurses.h>
#include <menu.h>
#include <string.h>
#include "texted.h"
void createPanel(WINDOW*,char**);
void curses_init();
@ -59,7 +59,7 @@ int maxY(WINDOW* window) {
void curses_init() {
initscr();
curs_set(0);
// curs_set(0);
}
int main(int argc, char** argv) {
@ -73,7 +73,8 @@ int main(int argc, char** argv) {
createPanel(menuwin,stringArray);
wrefresh(mainwin);
wrefresh(menuwin);
delwin(menuwin);
run(argv[1],mainwin,argc);
wgetch(mainwin);
endwin();
return 0;

Loading…
Cancel
Save