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.
3 Answers
You have to select View » Show Tab Bar if it's not shown (possible if your window has only a single tab).

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".

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

Alternatively, you can always select Window » Merge All Windows from the menu.
- 109,300
- 14
- 287
- 334
- 1,172
- 2
- 9
- 24
- 29
- 1
-
add inline pics by copying to clipboard then paste in any blank part of post window. – somebadhat Mar 23 '20 at 03:34
-
1"All" != "two"... – hippietrail Oct 08 '22 at 09:50
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:
- Open System Preferences, Keyboard, Shortcuts tab (Screenshot)
- Select App Shortcuts and press the + button
- For the Application, choose Terminal.app from the list
- For the Menu Title, type this text exactly:
Merge All Windows - 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.
- 131
- 5
-
1This is only correct if you have exactly two terminal windows open. In every other case "two" is different to "all". – hippietrail Oct 08 '22 at 09:51
