Synopsis:
   $winnam()

Technical:
   This function returns the name of the current window, if it has one.  It
   takes no arguments (and ignores any passed).

Practical:
   This function is useful to scripts that need to know the name of the
   current window.

Returns:
   name of current window, or nothing if window has no name

Examples:
   $winnum()            returns name of current window, if any

See Also:
   set(4) status_window; winnum(6)