Windows Terminal Preview v0.4 release, Microsoft produced the new terminal

Windows Terminal Preview 0.4 has been released, updated as follows:

Settings Update

Profiles.json move LocalState folder

Profiles.json file folder has been moved to LocalState folder from RoamingState file. This change prevents automatic roaming is provided on the device to repair the defect, for example, references that do not exist on another computer font on a computer, will cause Terminal due unidentified font collapse.

Custom Tab Title

In the v0.3 version, introduced "tabTitle" setting, which allows the user to customize the text string covering the tab title. In version 0.4, this functionality is changing, by default, the tab title will be set to the configuration file name, not the path of the executable file. If you want to change the default title of "tabTitle" setting will replace the name tab of the configuration file.

This function is slightly different from before, because it was set up shell title, instead of overwriting the displayed title. This behavior of the original conhost (Console Host Process, a command-line program of the host process) consistent behavior in use. shell title is the command-line applications used by a sample configuration file provided, which means that the command-line application is still able to cover the tab title, this is a change to the v0.3 version.

Note: WSL release, shell title is rewritten, because the default shell many releases of configuration settings for the window title before each prompt. You can change this behavior in the / etc of bash or zsh configuration file.

Setting warnings

In version 0.4, when you profiles.json file problems, Terminal will display an error message describing what is incorrect. If your profiles.json files can not be read correctly, Terminal will use its default settings, but it will not overwrite your existing settings file.

Key Binding Update

AltGr

Version 0.4 has AltGr key is "Ctrl + Alt" bound for users.

打开 Tab 下拉列表

该版本可以使用按键绑定打开选项卡下拉列表,默认键绑定是“Ctrl+Shift+Space”。

有关所有可用键绑定的列表,请参阅文档

注意:如果你以前安装过 Terminal,如果想要使用新的默认设置,则必须删除当前的 profiles.json 文件并重新启动终端。它将生成一个具有默认设置的新设置文件。关于移动当前 profiles.json 文件,以确保保留当前首选项的副本,此方面正在开发改进。

复制更新

新的全局设置:复制选择

“CopyOnSelect”已作为一个新的全局设置添加到 profiles.json 文件中。默认情况下,设置为 false。当设置为 true 时,剪贴板将在终端中选择内容后复制。如果为 false,则在采取进一步操作之前不会复制所选内容(例如使用调用复制函数的键绑定)。这种经验与 Unix 终端上的经验是一致的。

HTML 复制

当你选择一个文本范围并将其复制到你的剪贴板时,Terminal 现在将所选文本以 HTML 的形式写入剪贴板。这就允许你将样式化的控制台内容粘贴到其他应用程序,如 Outlook、Microsoft Word 等。此行为与 conhost 不同,因为剪贴板始终将 HTML 数据与常规文本一起复制,而不是定义何时要复制 HTML 数据。

可访问性更新

此版本中,UIA 边界矩形与 100% 比例显示上的文本范围正确地对齐,边界矩形定义在终端内的缓冲区上显示文本的区域,提高了可访问性。

修复 bug

  • 如果没有选择行为,用于复制的任何键绑定都将传递给基础命令行应用程序。因此,例如,如果你使用“Ctrl+C”进行复制,它将复制(如果有选择)。否则,^C 发送 SIGINT 并按预期中断信号。
  • 当在选项卡之间切换时,图标将不再闪烁。此外,如果图标路径无效,Terminal 也不会出现崩溃。
  • 打开选项卡下拉列表后,单击它的外部将关闭下拉列表并隐藏它。
  • Terminal 不再在启动时重新序列化设置,因此你的 profiles.json 文件将不再在启动时重新格式化。
  • 一旦退出 Windows Terminal,复制到剪贴板的数据将被保存。

详情见发布说明:https://github.com/microsoft/terminal/releases/tag/v0.4.2382.0

Guess you like

Origin www.oschina.net/news/109433/windows-terminal-preview-v-0-4-released