I recently encountered a bizarre problem with a polling loop on Xubuntu 18.04. When I run my application on a standard tty, it runs fine. When I run it in xfce4-terminal the screen is completely blank. When I strace the application, it's running in an vigorous polling loop. When I run the application on 16.04 there are no problems at all on a standard tty nor on xfce4-terminal. On Xubuntu 18.04 ncurses = 6.1 (20180127). I also get the exact same behavior when I try to run in rxvt.