Synopsis: $winnum() Technical: This returns the window number of the current window. It takes no arguments (and in fact ignores any passed). This value will always match the value of STATUS_WINDOW in the status bar. Practical: This function is mainly useful for scripts, allowing them to know at any given time what the current window is. Returns: current window number Examples: $winnum() returns number of current window See Also: set(4) status_window; winnam(6)