added methods to temporarily leave ncurses and restore to it afterwards
handle newline
Merge branch 'master' of github.com:octris/org.octris.ncurses