//echo -a $window(*,0) - 1
//echo -a $window(*,a) - 1

Seems qwerty's right.