Using actions for focus management
When we're using Windows Terminal, the last thing we want is to get distracted by managing the terminal itself! Ideally, the terminal is a tool that helps us accomplish our tasks, not obstruct them. The next three commands help Windows Terminal get out of our way so we can focus on the task at hand.
togglePaneZoom
In Chapter 2, Learning the Windows Terminal UI, we covered using panes to accomplish multiple Terminal tasks in the same tab. Sometimes, a pane needs to be expanded temporarily in order to see more terminal output. In Figure 7.4, we can see two panes in the back window, and the text in the right-side pane is wrapping and difficult to read. By toggling pane zoom, as shown in the front window, we can temporarily expand the right-side pane to fill the full window. This gives us more room so the text doesn't need to wrap, making it easier to read. Toggling pane zoom again will restore the two-pane layout: