I have a @window which I made a menu for, which stats an alias. To problem is that this alias is under debugging, and I use much echo -s and var -s. In this @window, I sort results (/window -s) and later uses the results.
The problem is that all the debug messages appears in this window, where I start the alias.
A soution could be to set focus, active another window or switch window. The best would be to set focus to Status Window. How?
I tried //var -s %a $window(*status*,1) | window -a %a, but that didn't work. //var -s %a $window(*,1) | window -a %a happened to be the same window the window I wanted to avoid. Besides, that would screw up other windows.