20

Why is it not possible to have iTerm2 or Terminal app take up the full available space on the screen. Let me show an example:

iTerm2

It's hard to see but if you look on the right and bottom edge, there is some extra space. It seems impossible to expand it to use that space. What is causing this?

I used apps that make the window take up the full screen size, such as Breeze. All other apps work fine, taking 100% of the screen space, except iTerm2 and Terminal.

Btw, I do know about native fullscreen but I would like to know why I can't make my terminal take up 100% of the space.

1
  • 1
    By "take up 100% of the space" do you mean by simply manually maximizing it? In Lion, if I use the native fullscreen method for Terminal.app, it works as exactly as expected.
    – cm2
    Jan 5, 2012 at 16:23

7 Answers 7

11

Terminals have a fixed character width and height, and most (all?) terminal application programs make the window an even multiple of that size (then add the window title, some margin around the sides, etc.), so there will never be a partial row or column visible.

They could theoretically add more margin at the right/bottom of the window when the window is zoomed out, but then your question might merely be replaced with someone else asking “Why is there always some blank space at the window edge when the window is zoomed?”.

And what should happen to the window if you resize or show/hide the Dock (for example) such that the window is no longer the same dimensions as it would be if you zoomed it again to fit the new display area? When you Zoom a window, it isn’t placed into a “zoomed” state, it’s just resized to the current available display area at the time you Zoom it. If the available display area changes and you haven’t asked it to Zoom again, then what?

Not that these aren’t solvable, but there are a number of dynamic behaviors to consider, and terminal applications typically keep things simple.

Note that Mac OS X Lion “Full Screen” is an actual state that the window is in and Terminal always fits the window to the size of the display, updating when the display size changes, and adds margins as mentioned above. The size of the Dock, for example, is ignored.

1
  • 2
    You can easily 'verify' this behavior by manually resizing the terminal window. You'll notice that it 'stutters' because it resizes only by a fixed character width.
    – gentmatt
    Jan 5, 2012 at 7:09
17

Hold down control and you can resize it to take the whole screen (although it won't necessarily add another row or column of text).

Also, in the beta version, there is an advanced preference to make this the default called "terminal windows resize smoothly."

4
  • 1
    What OS version? I can’t get that to work.
    – Chris Page
    Jan 11, 2012 at 2:39
  • 1
    Worked for me on Yosemite.
    – ku1ik
    Jun 14, 2015 at 16:06
  • 3
    Works on El Capitan. Booyah. This should be the accepted answer.
    – par
    Feb 6, 2016 at 20:43
  • This question is about both iTerm and Terminal. Re-reading this, I assume this answer is only about iTerm.
    – Chris Page
    Jun 24, 2017 at 2:50
2

Here's a workaround I've been using for Terminal (should work with iTerm2 too).

Use the standard Window > Zoom option followed by the Fullscreen option of Spectacle (++F).

Window > Zoom leaves the terminal window in the original state (as seen in your question, with the thin space on the right). Full Screen option of Spectacle just moves the terminal window by half a character (I guess) to the left and fills the gap on the right.

OS: Mavericks, 10.9.1

1
  • This has worked well for me for a long time. Feb 14, 2019 at 17:07
2

This works for me in iTerm 2 (on Mountain Lion).

Go to: Preferences -> Profiles -> Window.

Set:

Columns = 204

Rows = 54

Style: Left of Screen

Screen: Main Screen
1

Push command+control+f or find the fullscreen option (or click the green circle button in newer versions of OS X) and it takes up every available pixel.

Here is an image of the whole screen when Terminal is open with two tabs in fullscreen mode:

enter image description here

1
  • This worked for me 🎉
    – mbaechtold
    Oct 8, 2019 at 15:40
1

As of iTerm version 3 I can set a very high value for columns and rows in Preferences > Profiles > Window and the new terminal window resizes to exactly the needed column and row values needed to fill the window. No other configuration tweaks needed.

Columns 300 and rows 80 for me on a 2012 MacBook Pro 15" Hi-Res.

1
  • This solved my problem of Terminal.app not using the full display size 🎉
    – mbaechtold
    Oct 9, 2019 at 7:04
1

Go to Preferences > Window

I am running Build 3.4.8 and could only get this to work by deselecting Native full screen windows option followed by cmd + enter

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .