//window -a @test | echo -a STATE $window(@test).state ACTIVE $active
Why does it output 'STATE normal ACTIVE @test' instead of 'STATE active ACTIVE @test'?