I had a good dig through the man pages and I couldn't see anything. From inside screen you can get the active window but not from outside (and it indicates it by number which can be changed so doesn't necessarily correspond to order).
I did come up with a workaround using
export PPWD=$PWD; screen
as the command
then sticking
if [ $PPWD ]; then
cd $PPWD
fi
into my .zshrc file, which then puts me in same directory as the terminator window I spit off from.
I had a good dig through the man pages and I couldn't see anything. From inside screen you can get the active window but not from outside (and it indicates it by number which can be changed so doesn't necessarily correspond to order).
I did come up with a workaround using
export PPWD=$PWD; screen
as the command
then sticking
if [ $PPWD ]; then
cd $PPWD
fi
into my .zshrc file, which then puts me in same directory as the terminator window I spit off from.