Open Dazuzi opened 8 months ago
The error here isn't telling you that the child doesn't exist, its telling you that the tab doesn't exist.
Yes, the problem is that it previously didn't return an error, so you could easily loop through the tabs. I.e.:
set -l %x 1
while ($xdid(test,1,%x).childid) {
echo -a TAB: %x ID: $v1
inc %x
}
It appears this is not a recent change, I'm just late to the party. Workaround would be to use .num, but it as just so convenient before.
Not completely sure if this is intended, but at least previously it just returned a $null.
Results in:
EDIT: version 3.1-git978.