Microsoft’s new Windows terminal is finally stable


Microsoft’s new Windows terminal has finally stabilized. Windows finally has a more modern terminal environment, including tags, split panes, multiple session types, and settings that allow you to configure everything from keyboard shortcuts to animated GIF backgrounds.

Finally, a more modern windows terminal

At build 2020 on May 19, 2020, Microsoft announced that the new Windows terminal was stable and “ready for enterprise use.”. Windows terminal version 1.0 is here. It isOriginally announced on build 2019Microsoft evenPrepared a gorgeous video to sell how great it was

The new Windows terminal is full of useful functions. Regardless of functionality, the core of the console environment has been modernized. Windows 10’s built-in terminal environment is for backward compatibility, so these changes can’t happen in the windows 10 built-in console environment.

With the new Windows terminal, Microsoft can make some changes, such as a more modern text layout and rendering engine, and provide GPU acceleration and support for Unicode text – you can even use emoticons in the terminal. When you press Ctrl + C and Ctrl + V, copy and paste “just work.”. There is even a new font calledCascadia Code

You canDownload Windows terminal from Microsoft Store。 You can evenGet the source code on GitHub。 Yes, the new Windows terminal is even open source.

The label, at last!

PowerShell and command prompt labels in Windows terminals.

Windows finally has a command-line environment with built-in tags. To open a new tab after starting “terminal”, just click the “+” button on the label bar or press the CTRL + Shift + T key.

You can use familiar keyboard shortcuts to move tabs, such as Ctrl + tab to the right tab, and Ctrl + Shift + tab to the left tab. CTRL + Shift + W closes the current tab.

You can also drag and drop tabs and reorder them on the tab bar.

Using PowerShell and Linux in the same window

Microsoft's new Windows terminal is finally stable

By default, the terminal opens the PowerShell tag. But it supports many types of shell environments. Now you can have multiple types of shell environments in the same window.

If you click the arrow to the right of the “new tab” button, you will see a list of open sessions. Windows PowerShell, command prompt, Linux distributions like Ubuntu (if you have installedWindows subsystem of Linux), and Microsoft’sAzure Cloud Shell

adoptBuilt in SSH client for windows 10, you can also easily start an SSH session from a Windows terminal.

Split panel with multiple shells at one time

Microsoft's new Windows terminal is finally stable

Tags are great, but what if you want to see multiple shell environments at the same time? This is what the windowpane function of a Windows terminal does.

To create a new pane, press Alt + Shift + D. The terminal will split the current pane in two and give you a second pane. Click on a pane to select it. You can click on a pane and press Alt + Shift + D to continue dividing it.

These panes are connected to tabs, so you can easily have multiple multi pane environments in the same Windows terminal window and switch between them through the tab bar.

Here are some other keyboard shortcuts that use the pane.

  • Create a new pane, split horizontally。 Alt + Shift + – (alt, shift and a minus sign)
  • Create a new pane, split vertically。 Alt + Shift + + (alt, shift and a plus sign)
  • Move pane focus。 Alt + left, ALT + right, ALT + down, ALT + up.
  • Adjust the size of the focus pane。 Alt + Shift + left, ALT + Shift + right, ALT + Shift + down, ALT + Shift + up.
  • Close Pane 。Ctrl+Shift+W

These are the default hotkeys, and you can change them if you like.

Better zoom function

Microsoft's new Windows terminal is finally stable

The new text rendering system means smoother and better scaling. To zoom and enlarge or shrink the text in the terminal, hold down the CTRL key and rotate the mouse wheel.

In the windows 10 built-in console environment, as you can see in the standard PowerShell and command prompt windows, this changes the size of the text as well as the size of the window. In the new terminal, it only changes the size of the text, not the size of the window.

Shiny background opacity

Microsoft's new Windows terminal is finally stable

The new Windows terminal also provides the function of opaque background. Hold down the CTRL + shift key and scroll down with the mouse wheel to make the window more and more translucent. The color of your desktop background – or anything behind the terminal – will be in windows“Acrylic“The effect of style can be seen through.

This only works when the application is focused – so when you Alt + Tab leaves, the terminal will have a solid background again until you Alt + Tab comes back.

Whether it’s practical or not, this has been a feature that Linux and Mac users have had for years. Now it’s also built into one of the leading Windows terminal applications.

So many settings. Keyboard binding, color scheme, background, etc.

! “light color scheme for white background of Windows terminal. ]…

The Windows terminal contains custom options that you can change. To access them, click the down arrow to the right of the new tab button and select settings.

You’ll see a text-based JSON file full of options. As a developer tool, Windows terminal now allows you to configure these options by modifying text files instead of using a graphical interface.

You can Settings.json The options available for modification in the file include

  • Configurable key binding。 You can bind a keyboard shortcut to an action or change the default keyboard shortcut.
  • Color scheme. you can bind a keyboard shortcut to an action or change the default keyboard shortcut. Change the color scheme (Theme) of the terminal environment. Here isColor scheme includedList of.
  • configuration file: create different profiles that will appear under the new tab button. You can customize the commands that execute when you start the command-line environment, and set custom fonts and color schemes for each session.
  • Custom background。 You can set up a custom background picture for a session. For example, you can change the Ubuntu session to have a custom background image of the Ubuntu theme.
  • Animated GIF background。 You can evenSet an animated GIF as your custom background
  • Default profile selection。 When you start a Windows terminal or click the “new tab” button, select the profile you want to start by default. For example, you can choose a Linux session instead of PowerShell.

Microsoft has oneEdit Windows terminal JSON settings fileAndA list of all the options you can add to the file。 In that list, you’ll find that there are many other options that we don’t cover here.

Unlike the standard command prompt, PowerShell, and Linux bash shell environments on Windows 10, Windows terminal has finally installed the options developers want – options that have existed for years on other operating systems such as MAC and Linux.

Recommended Today

Regular expression sharing for checking primes

This regular expression is shown as follows: Regular expressions for checking prime numbers or not To use this positive regular expression, you need to convert the natural number into multiple 1 strings. For example, 2 should be written as “11”, 3 should be written as “111”, 17 should be written as “11111111111”. This kind of […]