Fix curses bug: garbled output in nl mode.

Use nonl mode in sl, as more efficient.
This commit is contained in:
Serge Vakulenko
2015-09-13 23:47:32 -07:00
parent 7a8eff3fa3
commit 218466583d
3 changed files with 9 additions and 8 deletions

View File

@@ -90,6 +90,7 @@ int main(int argc, char *argv[])
initscr();
signal(SIGINT, SIG_IGN);
noecho();
nonl();
leaveok(stdscr, TRUE);
scrollok(stdscr, FALSE);