Added support for terminal transparency in curses mode