Closed tenox7 closed 4 years ago
Upon more investigation turns out this is due to alternate screen in xterm-ish terminals. I have updated README.md with couple of ways to work around it. Needs more testing.
I have confirmed workaround from readme works on most affected terminals. As such closing the issue.
it would be nice to leave output after exiting with ^c or when there is no more data
this can be done by suing pad or newterm instead of initscr
references: https://stackoverflow.com/questions/4772061/how-do-i-use-getch-from-curses-without-clearing-the-screen https://stackoverflow.com/questions/14446311/make-curses-program-output-persist-in-terminal-scrollback-history-after-program