Jump to content
Microsoft Windows Bulletin Board

Windows Terminal Preview 1.15 Release


Recommended Posts

Guest Kayla Cinnamon
Posted

Welcome back to another Windows Terminal release! This release updates Windows Terminal to version 1.14 and includes all of the features from this previous blog post. Additionally, Windows Terminal Preview is getting an update to version 1.15 and will include all the features detailed here. As always, you can install Windows Terminal and Windows Terminal Preview from the Microsoft Store or from the GitHub releases page. Now, let’s get into the good stuff! This release is dedicated to all the Marks out there. 1f609.png.a2225358f725d08a2baec3cca62f3cdf.png

 

[HEADING=1]Keyboard selection (mark mode)[/HEADING]

 

You can now use your keyboard to select any text in the text buffer with mark mode! You can enter mark mode by typing Ctrl+Shift+M. When in mark mode, you can use the arrow keys to move to your starting position, then you can hold Shift and use the arrow keys to make your selection. Esc will exit mark mode and Ctrl+A selects all text in the buffer.

 

Mark-Mode.thumb.gif.edc7fc61919e1e91e678a90c452dc5cf.gif

 

[HEADING=2]Mark mode actions[/HEADING]

 

26a1.png.0220739db83139f7cf408f67da11ae3d.png [iCODE]markMode[/iCODE]: Toggles mark mode.

 

26a1.png.ac174e9e98916cf968651188cdfcedea.png [iCODE]toggleBlockSelection[/iCODE]: Allows you to create a block selection using only the keyboard.

 

26a1.png.e50162d1c66715be6797a7b3e00ed133.png [iCODE]switchSelectionEndpoint[/iCODE]: When modifying a selection using the keyboard, you are moving one end of the selection around. This action switches focus to the other selection marker.

 

[HEADING=1]Scroll marks (experimental)[/HEADING]

 

Windows Terminal now supports scroll marks! You can automatically add scroll marks to your profile for each command that’s entered by adding the [iCODE]experimental.autoMarkPrompts[/iCODE] setting. Using this setting alone will allow you to scroll to each mark with the scroll mark actions (detailed below), however they won’t be visible in the scrollbar. If you want the scroll marks to also appear in the scrollbar, you’ll need to add the [iCODE]experimental.showMarksOnScrollbar[/iCODE] setting to your profile. Please note that this feature is experimental and is subject to future changes.

 

"experimental.autoMarkPrompts": true,
"experimental.showMarksOnScrollbar": true

 

You can also add marks to your buffer with the iterm2 [iCODE]OSC 1337 ; SetMark[/iCODE] sequence or with the [iCODE]addMark[/iCODE] action.

 

Here’s some JSON you can add to your settings file to get started:

 

// actions
       { "keys": "ctrl+up", "command": { "action": "scrollToMark", "direction": "previous" }, "name": "Previous mark" },
       { "keys": "ctrl+down", "command": { "action": "scrollToMark", "direction": "next" }, "name": "Next mark" },
       { "keys": "ctrl+pgup", "command": { "action": "scrollToMark", "direction": "first" }, "name": "First mark" },
       { "keys": "ctrl+pgdn", "command": { "action": "scrollToMark", "direction": "last" }, "name": "Last mark" },
       { "command": { "action": "addMark" } },
       { "command": { "action": "addMark", "color": "#ff00ff" } },
       { "command": { "action": "addMark", "color": "#0000ff" } },
       { "command": { "action": "clearAllMarks" } },

// profiles.defaults
       "experimental.autoMarkPrompts": true,
       "experimental.showMarksOnScrollbar": true,

 

Scroll-Marks-Demo.thumb.gif.32e53e84061f389bc66f01f7288e3b36.gif

 

[HEADING=2]Scroll mark actions[/HEADING]

 

26a1.png.c134684f38516a5716771cbb3b7720e7.png [iCODE]addMark[/iCODE]: Adds a scroll mark to your text buffer. If there’s a selection, the mark is placed at the selection, otherwise it’s placed at the cursor row.

 

1f449.png.1f88d6d0e24d042ac165f914e531517a.png The [iCODE]addMark[/iCODE] action has an optional [iCODE]color[/iCODE] parameter that lets you set the color of the scroll mark.

 

26a1.png.4ef5861b131e4efd90da6fc4c0f6346a.png [iCODE]scrollToMark[/iCODE]: Scrolls to the scroll mark in the given direction.

 

1f449.png.a44b1db0ba3b45557fc112cf461f2beb.png The [iCODE]direction[/iCODE] parameter for [iCODE]scrollToMark[/iCODE] accepts [iCODE]first[/iCODE], [iCODE]previous[/iCODE], [iCODE]next[/iCODE], and [iCODE]last[/iCODE].

 

26a1.png.beffad21e104ccf9d2e401cd79549901.png [iCODE]clearMark[/iCODE]: Clears scroll mark at the current position, either at a selection if there is one or at the cursor position.

 

26a1.png.ee45dbeceaa556a6daf84831eb4f8078.png [iCODE]clearAllMarks[/iCODE]: Clears all scroll marks in the text buffer.

 

[HEADING=1]PowerShell “black bars” patch removal[/HEADING]

 

This build removes the patch that prevented unexpected black backgrounds (which may manifest as black bars stretching across the screen) from appearing while PowerShell is running. We have chosen to remove this workaround as newer versions of PowerShell’s PSReadline component contain a fix for the issue. As a result of this change, Oh-My-Posh will once again be able to display prompt elements using a black background color.

 

2757.png.e7a89d858566be829b0162d3354d0cd0.png If you see black backgrounds appearing behind text while typing a command in PowerShell, make sure your PSReadline version is up to date. You can update your version of PSReadline by running the command, [iCODE]Update-Module PSReadline[/iCODE].

 

[HEADING=1]Miscellaneous improvements[/HEADING]

 

1f6e0.png.3b239c33a4dac03d44f15a80df0fab52.png Windows Terminal now supports the [iCODE]DECPS[/iCODE] escape sequence, allowing you to play sounds through the terminal (Thanks @j4james!).

 

1f6e0.png.362b649ddfdbaace29e73f235c4a6423.png If the Windows Terminal Preview settings file is empty when launching, the file will launch as a copy of Windows Terminal’s settings (Thanks @huiyooumich!).

 

1f6e0.png.d6061d71f0e5de4694e701f7c1de6188.png Color schemes now accept [iCODE]"magenta"[/iCODE] and [iCODE]"brightMagenta"[/iCODE] in place of [iCODE]"purple"[/iCODE] and [iCODE]"brightPurple"[/iCODE] (Thanks @matthewd673!).

 

1f6e0.png.dd3d0d486a3b93a49b361af7c0eb3446.png The Windows Terminal project now uses a single coordinate type, a change that was a +3610, -3906 line diff(!).

 

1f6e0.png.2c3d48b1370794b4a668a2d5a262a227.png The following keyboard accelerators are now available for the shell extension: T for Open in Terminal, P for Open in Terminal Preview, and D for Open in Terminal (Dev) (Thanks @ianjoneill!).

 

[HEADING=1]Bug fixes[/HEADING]

 

1f41b.png.5455e01d9750d0de0e988ac9ec244b23.png The terminal should no longer crash if you delete the last profile.

 

1f41b.png.bc29279af413e89b9f798153e25f1227.png The navigation view footer and save buttons are no longer misaligned in the settings UI (Thanks @HO-COOH!).

 

[HEADING=1]Top contributors[/HEADING]

 

We love working with the community and recognizing those who made an impact for each release. Here are the community members who helped out for this one!

 

[HEADING=2]Contributors who opened the most non-duplicate issues[/HEADING]

 

1f3c6.png.5659295c9f29581da0e5922d82cefebf.png jredfox

 

1f3c6.png.d42911249bfb15000b76b27d12b7d812.png j4james

 

1f3c6.png.a5a8e63ca0c0b28a227bc734093d2a3e.png ssccinng

 

1f3c6.png.e22911eb4f24920903461dae7cc4f730.png elsaco

 

1f3c6.png.d1d60f3a07f85375d3e7cdbd9e9f9de7.png rjk

 

1f3c6.png.c8d16f5b897c5e486c70e8e99503ee9f.png Poopooracoocoo

 

1f3c6.png.965545d0861ccc4d4f3c7c5cdb0533cf.png ohault

 

1f3c6.png.b2cb8c5d564598a005b8147e9dba96b3.png FANS4ever

 

1f3c6.png.d189c631c503f0960311335c25f94b7a.png epiciskandar

 

1f3c6.png.f6c64a362f4edddc33f196dadbb4159b.png Andrew1988123123

 

1f3c6.png.c0992074a7c21736332fc09537443184.png MatejKafka

 

[HEADING=2]Contributors who created the most merged pull requests[/HEADING]

 

1f3c6.png.fb4ffd8bb52431b58e1555f6634c01b4.png j4james

 

1f3c6.png.a7a6a1cd5b9cc86974a81609f0405e92.png wiryallcserviceseducative

 

1f3c6.png.9d9ef189698c04449f70c8e84b4bc928.png HO-COOH

 

1f3c6.png.34215740c6eb77069116d68d74d4dde6.png ianjoneill

 

1f3c6.png.7697c65b73ecf1fef534d13855be6ede.png koutingting

 

1f3c6.png.60116d8a4c6acad4e0b680290d2c3907.png matthewd673

 

1f3c6.png.125c91d977b93ce4b6ae55ca5bd8d055.png koutingting12345

 

1f3c6.png.98c5afba6ae521ceed02c056829ec0ca.png starstonetalent

 

1f3c6.png.73ffe1706b87191b500b53d9a98bb096.png leejy12

 

1f3c6.png.8a70d3bfd82d7e3b38b37b28d29690d2.png cyberdev101

 

1f3c6.png.0852d931557db6cd9b27f0fac05d5876.png ofek

 

[HEADING=2]Contributors who provided the most comments on pull requests[/HEADING]

 

1f3c6.png.4f4bc65bc4225a470b05dafd4ae28b29.png j4james

 

1f3c6.png.9c487d546d6c0344b5711e9d70c736b4.png leejy12

 

1f3c6.png.ae328d742221dd579f39bff2059044e9.png ofek

 

1f3c6.png.e75e89cdd792896a2a7cd79944f13a1c.png KotlinIsland

 

1f3c6.png.4874ce8526edb708fdf7900077fb3791.png PetterS

 

1f3c6.png.975204a7fe4dadd472fb9298aa685448.png dansmor7

 

[HEADING=1]Cheers![/HEADING]

 

If you’d like to learn more about Windows Terminal, you can visit our docs site to find more information. If you have any questions or feedback, feel free to reach out to Kayla (@cinnamon_msft) on Twitter. If you find any bugs or have any feature requests, you can file them on our GitHub repo. We hope you enjoy this release of Windows Terminal!

 

Group-6.thumb.png.f21df1f1804c0e2ae0f0d48ec4ff6318.png

 

The post Windows Terminal Preview 1.15 Release appeared first on Windows Command Line.

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...