macos – How to combine two windows as one in Terminal?

In Terminal I can use Command + T to create Tabs in one Window, check below:

enter image description here

but now, I opened two windows like this, how to merge them as one liker upper:

enter image description here

I have tried drag one into another, but not work.

my macos Version is: Catalina 10.15.7 (19H524)