is there a way to send/pass the current window number to a backtick command in GNU screen? Or would I have to use a different terminal multiplexer?
Thank you.
Edit:
This is my backtick:
backtick 0 2 2 $HOME/bin/status/status
Inside my "hardstatus string" line the backtick is inserted:
hardstatus string "... %{=b dw}[ %{-b dc}%0`%{=b dw} ]"
Inside the status script (more precisely inside scripts run by $HOME/bin/status/status
) I would like to know which window is currently shown.