Upon further tests, altscreen just cleans up the screen when applications like vim are closed. It seems that it's the termcapinfo in /usr/share/screen-profiles/profiles/common that's keeping the backlog in the terminal after closing/detaching screen.
Upon further tests, altscreen just cleans up the screen when applications like vim are closed. It seems that it's the termcapinfo in /usr/share/ screen- profiles/ profiles/ common that's keeping the backlog in the terminal after closing/detaching screen.