Fix code formatting and add dup/dup2 methods as a "hack" to aid in scenarios where one wants to pipe data into an ncurses program.
Fix code formatting and add dup/dup2 methods as a "hack" to aid in scenarios where one wants to pipe data into an ncurses program.

kkoopa/node-ncurses,mscdex/node-ncurses,tokuhirom/node-ncurses,mscdex/node-ncurses,mscdex/node-ncurses,kkoopa/node-ncurses,tokuhirom/node-ncurses,tokuhirom/node-ncurses,kkoopa/node-ncurses