Cursor not able to see terminal output