I use GNU Screen to run programs. One of my programs sets up a custom cursor colour. When I reattach to the program via GNU Screen, the cursor does not restore to the custom colour, until I refresh the screen in the program.
I'd like to config GNU Screen to always run a refresh command after I reattach. Is this possible?
redisplayscreencommand (as bound by default on prefix-l, prefix-^L) or a command calledrefreshon your system, or some specific action within some TUI software. In the latter case, how would you invoke that action? By a series of key presses, by clicking somewhere?xtermsupport setting the cursor colour with things likeprintf '\e]12;blue\a', but AFAIK, GNUscreendoesn't support such escapes. Do you have some configuration in place forscreento let those escape sequences through from applications to the host terminal?ESC Pand `ESC \`, and it will work.execcommand?