+setenv s "$s%{= Bw}" # - white on light blue background, also reset all
+ # attributes (necessary so everything is displayed
+ # correctly)
+setenv s "$s%?%P" # - is copy mode enabled? (GIT)
+setenv s "$s%{= wB}" # - if so change colors to light blue on white (GIT)
+setenv s "$s%?" # - end if (GIT)
+setenv s "$s%3n" # - window number
+setenv s "$s " # - space
+setenv s "$s%t" # - window name
+caption always "$s"
+unsetenv s