Sometimes, when I reattach to a screen session, I get an empty terminal (pressing the up key does not help):
When I try to enter copy mode, I get the message
Must be on a window layer:
If I resize the window, I start seeing the output of my program. If I then try copy mode again, I can still cannot get past what is currently displayed (ignore all the
A^[[s, I accidentally hit the up keys before being in copy mode):
Can I prevent this behavior somehow?
I am using Screen version 4.06.02 (GNU) 23-Oct-17 on Ubuntu 18.