commit b46c1e045aae963c26a2e4959236dcdd6c285813 from: Christian Weisgerber date: Sun Sep 20 22:22:04 2020 UTC Print newline to clear the bottom line when tog exits. When a curses(3)-based application exits, the cursor is positioned at the start of the bottom line, and the shell will issue the new prompt there. However, the bottom line may still contain remnants of the curses screen. This is only noticeable on terminals that do not switch to/from an alternate screen buffer. ok stsp commit - e6db639971bcaa0d9cf9828be53a16c35297c2f6 commit + b46c1e045aae963c26a2e4959236dcdd6c285813 blob - 8eb6e6b273d41c6a726f1e8b5fe1b04fbcd17415 blob + d46c6ecd59b56ea667bc10d635dff590823e90d5 --- tog/tog.c +++ tog/tog.c @@ -5686,6 +5686,7 @@ main(int argc, char *argv[]) } endwin(); + putchar('\n'); if (cmd_argv) { int i; for (i = 0; i < argc; i++)