Arrange your windows with boxes
Here's a situation you'll run into sooner or later. You're working on something, and you want your editor on one half of the screen. On the other half you want a log, your test runner and a spare shell, but you only need to look at one of them at a time.
A workspace can't quite do that. In a grid every window gets its own slice, so those three end up small. In tabs you only see one window at a time, so the editor disappears whenever you check the log. What you want is two layouts at once: side by side on the outside, tabs on the inside.
That's what a box is for. A box holds windows and has a layout of its own, so one part of your screen can be arranged one way and another part another way. Here's what we're going to build:

Boxes are the trickiest idea in Tessera, so we'll take this slowly. Press the keys as you read, because they make a lot more sense in your hands than they do on the page. If you get lost, nothing bad can happen: boxes only arrange your windows, and none of the keys we'll use to build this one will close anything.
You've already been using onePermalink to You've already been using one#
Remember the little label from your first windows, the one that said BOX: grid · 4 windows? I said we'd come back to it. Your workspace is a box! It's the outermost one, every workspace has one, and that's why a workspace has a layout that Mod+t can change.
So you already know how a box behaves. All we're going to do now is put smaller boxes inside that one.
Set the scenePermalink to Set the scene#
Go to a workspace you haven't used yet, such as the one on Mod+4. Open a terminal with Mod+Shift+Return and type echo editor, so you can tell it apart from the others. Open a second terminal and type echo logs.
They start out as tabs, so press Mod+t three times on a new workspace to choose row. Now your two terminals sit side by side, with logs focused on the right.
Make a boxPermalink to Make a box#
Press Mod+Shift+i. That's called wrapping: you've just wrapped logs in a new box.

logs in a box of its own. The stripes show you exactly how much of the screen the box covers.Nothing moved, and that's how it's supposed to be. The box fits snugly around the window, so the only thing you can see is the stripes. They mean you've selected the whole box rather than one window in it. Your terminal hasn't gone anywhere, and it's still running underneath.
The label tells you what you've got. BOX: tabbed · 1 window describes this box: it uses the tabbed layout and holds one window. The line below it, 1 > row > tabbed, is how you get there from the outside: workspace 1 (yours will show whichever one you're on), whose row holds this tabbed box.
These stripes stay until you go back to a window, which is different from the quick flash you get from Mod+t. A flash just says "that changed." These say "this is what your next command will act on."
Put something in itPermalink to Put something in it#
Press Mod+Shift+Return and type echo tests.

logs. The left half didn't move.You had the box selected, so the new terminal opened inside it. Now look at your screen: tabs on the right, and editor still has the whole left half. That's two layouts on one screen!
Open one more terminal and type echo shell. That's the screen from the top of this page, and it only took you one new key.
Give the box its own layoutPermalink to Give the box its own layout#
You're on tests, inside the box. Press Mod+t four times: grid, stacked, row, then column.

editor still has the whole left half.Mod+t changes the layout of the box around whatever you have selected, and only that box. Everything outside it stays exactly where it was. This is what a box gets you: you can rearrange one part of your screen without disturbing the rest.
The bar keeps the workspace's row icon and adds a breadcrumb for the box you're using. Its smaller icons show the layouts along that path, even after the selection label fades. To change the workspace's own layout from in here, press Mod+o until the stripes cover everything, then press Mod+t.
We want tabs again for the next part, so press Mod+t three more times: dwindle, tile, and back around to tabbed.
Where to nextPermalink to Where to next#
You just learned the two ideas that matter most: every box has its own layout, and you move between levels with Mod+o and Mod+i. Leave your windows as they are, because we'll keep using them while we move windows between boxes.
