curses - fix - put a dev_width inside #ifdef