editor layout - how to put console back to a tab??

Hello!

Accidentally I detached the console and now it is in the form of a window, and I cant put it back :frowning: Anyone knows how to make it tabbed again?

Drag the window tab back to the area where you want it docked.

thank you!!! I had spent days frustrated because of this :S