Romain Jouin
Romain Jouin

Reputation: 4848

Mac OS X - adding a border to the terminal

I am using the terminal on Mac OS, but all the terminal's windows are borderless, making them difficult to distinguish when they are one over the top of the other. I can't find the way to add a 1px border around the window (my terminal's windows are all black backgrounded).

How can I add a colorful (or white) border to a terminal window?

Upvotes: 10

Views: 6643

Answers (5)

J. Auger
J. Auger

Reputation: 59

I guess you have opted for a solution already, but I just thought of this fix: What it actually looks like I simply made a black background with a white border and went in "Preferences (cmd + ,) > Profiles > Text" and used the "Background > Image" option and uploaded the .png

Just made it, so I don't know if it will bring me troubles, but it sure looks good!

I am using the "Pro" test display, so the fonts work well on a black background. the border doesn't show much, but it is there

I can adjust the colors to your liking and send it back to you.

Cheers, -Jérémie

Upvotes: 3

ahron
ahron

Reputation: 1382

I had the same problem, and while there is no way to actually add borders to the terminal, I found a happy alternative in using tmux - the terminal multiplexer.

Tmux allows to split the terminal/session into as many sub-windows as you'd like, each of these are separated by a dashed line. It is installed using homebrew: brew install tmux, it might be just what you need.

Upvotes: 0

Mark Setchell
Mark Setchell

Reputation: 207670

Whoop! Whoop! Work-around alert...

You can alleviate the issue somewhat by setting the scrollbar to always show, rather than only when scrolling, so at least one side of the Terminal is always demarcated properly...

defaults write NSGlobalDomain AppleShowScrollBars -string "Always"

enter image description here

Note 1. You must quit and restart Terminal for this to take effect.

Note 2. This will also affect Safari, and other apps, which you may or may not mind.

Upvotes: 3

sim303
sim303

Reputation: 236

I had the same annoyance, and the Tab Bar, whilst handy, is not a substitute for multiple open terminals. The easiest solution I found was to use iTerm2 (free download) instead of Terminal. It has a preference option for switching on a 1px border (not enabled by default):

iTerm:: Preferences -> Appearance -> [Window] Show border around window

Upvotes: 10

JohnnyJS
JohnnyJS

Reputation: 1472

In Yosemite (and maybe in other OSs before) there is the Tab Bar in terminal.

Its a modern way to deal with windows.

To activate Tab Bar:

In Terminal: View->Show Tab Bar

OR

Hit: ⇧+⌘+T

Upvotes: -2

Related Questions