working file printing
This commit is contained in:
7
main.c
7
main.c
@ -1,4 +1,6 @@
|
||||
#include <curses.h>
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
#include "window.h"
|
||||
|
||||
unsigned int terminal_height;
|
||||
@ -14,9 +16,14 @@ int main() {
|
||||
WINDOW *win_r = newwin(terminal_height, terminal_width/3, terminal_height, ((terminal_width/3)*2));
|
||||
while((ch = wgetch(win_m)) != 'q'){
|
||||
getmaxyx(stdscr, terminal_height, terminal_width);
|
||||
|
||||
pthread_t main_window_thread;
|
||||
pthread_t left_window_thread;
|
||||
pthread_t right_window_thread;
|
||||
window_left(win_l,0,0);
|
||||
window_main(win_m,0,(terminal_width/3));
|
||||
window_right(win_r,0,((terminal_width/3)*2));
|
||||
wmove(stdscr,0,0);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user