thanks guys.... managed to get it working by creating a new thread using pthread.h (have to get a better understanding of threading though)
heres the program incase anyone's interested
#include <unistd.h>
#include <curses.h>
#include <stdlib.h>
#include <pthread.h>
int wx,wy,x,y;
int...