53

I accidentally split a tabbed terminal up into two windows and I can't figure out how to join it again. Google tells me that I should drag it until it gets translucent on some other version of OS X but that doesn't seem to be working.

Kit Sunde
  • 2,451

3 Answers3

92

You have to select View » Show Tab Bar if it's not shown (possible if your window has only a single tab).

enter image description here

Then drag all tab headers (just below the window title bar) straight up or down — not sideways — to initiate a drag of a tab across window bounds. Now you get the translucent "drag visual".

enter image description here

Drag this to the other window, and the dragged tab will attach.

enter image description here


Alternatively, you can always select Window » Merge All Windows from the menu.

Daniel Beck
  • 111,893
2

Go to Terminal --> Windows -->"Merge All Windows"

Screenshot of Terminal - Windows

somebadhat
  • 1,240
Harpr S
  • 29
0

It is possible to merge Terminal windows by using the top-level menu. Select Window → Merge All Windows.

Another way to achieve this without using the mouse is by adding a custom keyboard shortcut in System Preferences:

  1. Open System Preferences, Keyboard, Shortcuts tab (Screenshot)
  2. Select App Shortcuts and press the + button
  3. For the Application, choose Terminal.app from the list
  4. For the Menu Title, type this text exactly: Merge All Windows
  5. Choose whatever Keyboard Shortcut you want and press Add

Pro Tip: Start by selecting the Terminal window you want the others to merge into, then use the Merge All Windows function.

varogen
  • 130