As we had the proxies being closed with sending a 'q', and in the same way for showing and hiding, ... and this does not work if you have closed the console, we need to move back to sending messages.
We already have messages
- TAG_COMMAND_QUIT
TAG_COMMAND_SHOWTAG_COMMAND_HIDE
In order to send these to all open proxies, we need to access the communication object. This was an embedded member, which we need to convert to shared_ptr so that we can store a weak_ptr of it in the static map.
First back on showing hiding a console, certainly under windows 11 it is not evident, so we will just focus on the next case:
- initially the console is hidden (at startup)
- we show the consoles through settings in ctrack => they should become visible and do initial initializations
But also this does not work, the microschoft fuckers really outdone it.
So change of strategy: changing visibility requires restarting
Quitting the proxies does work by the way