Rearranged some of the functions in ncurses_client.c