Ncurses spoils terminal
After launching the app with ncurses GUI, terminal screen goes into infinite update(?) or something - blinks and redraws with garbage symbols until many Ctrl+C presses cancel the program. After that, a lot of symbols like "1;1;120;120;1;0|" are shown as previously entered commands?
What can cause such behavior? How can ncurses spoil terminal window? It happens mostly on remote machine with CentOS via ssh connection. On local ubuntu 99% of launching the app is ok