I am trying to embed a text editor into an ncurses program so that I can add extra functionality to it. I want to have a window that contains a terminal which is used to open an