47

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 3

84

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.

0
3

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

Screenshot of Terminal - Windows

1
  • add inline pics by copying to clipboard then paste in any blank part of post window.
    – somebadhat
    Mar 23, 2020 at 3:34
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.