Added in 1.8.2
Returns the name of the first screen found.
Returns the name of the Nth screen found.
N - If N = 0, the number of screens found, otherwise the Nth screen.
; Print number of screens. //echo -ag $screen(0) ; Print the name of the first screen found. //echo -ag $screen(1)
Updated by Per Amundsen about 2 years ago · 2 revisions