Setting one IDE window to a nano board and the other to an uno board

Another solution is not to communicate using the IDE at all. IF you are just interested in Serial Monitor communication you can use programs like PuTTY under Windows, or screen under macOS or Linux. As a bonus, these are more pleasant to use than Serial Monitor.