-# The caption consists of a white background bar. The active window has
-# a blue marker at either end and the text is blue. Inactive windows have
-# black text. All windows show the name of all windows with the current one
-# highlighted in square brackets.
-caption string "%?%F%{= wb}%:%{= wk}%?%-Lw%50>%{+b}%{+r}[%n%f %t]%{-r}%{-b}%+Lw%< %="
+# The caption consists of a white background bar whose foreground colour
+# depends on the window status. Active windows are in blue; inactive in black.
+# The current window's settings are highlighted in reverse video with square
+# brackets.
+caption string "%?%F%{= wb}%:%{= wk}%?%-Lw%50>%?%F%{+r}%:%{= Kw}%?[%n%f %t]%{-}%+Lw%< %="