为了使 Windows 成为开发人员更受欢迎的平台,Microsoft 在 Windows 10 中引入了 WSL(Linux 的 Windows 子系统),这使得在 Windows 上运行 Linux 二进制文件成为可能,而没有虚拟机的麻烦。Windows 终端程序是一款新式、快速、高效、强大且高效的终端应用程序,适用于命令行工具和命令提示符,PowerShell 和 WSL 等 Shell 用户。主要功能包括多个选项卡、窗格、Unicode、和 UTF-8 字符支持,GPU 加速文本渲染引擎以及自定义主题、样式和配置。
软件截图软件特点为了进一步简化流程,并提供一种替代过时的 Windows 控制台的方法,Microsoft 提出了Windows Terminal。它旨在改变用户访问命令提示符,PowerShell,WSL 和其他命令行外壳程序和应用程序的方式。您将能够在一个应用程序中使用所有这些工具,该应用程序支持多个选项卡,GPU加速和大量自定义。
开发人员的新工具长期以来,Windows 上可用的命令行环境不如 macOS 和 Linux 上的命令行环境。多年来,微软已经采取了一些措施来改进其控制台,但是他们最终决定只开发一个名为 Windows Terminal 的新应用程序。
此新工具不会替代现有的控制台,这将导致与旧版应用程序的无限兼容性问题。相反,您将能够在新终端中的单独选项卡中运行命令提示符,PowerShell 和 WSL 实例。
现代终端的现代功能当然,其中最重要的是多个选项卡支持。到目前为止,这是最需要的功能,不足为奇。每个新选项卡都将连接到特定的外壳或应用程序,甚至可以使用热键打开它们。
其次,Windows Terminal 使用 GPU 加速的 DirectWrite/DirectX 引擎呈现文本。这意味着现在可以在终端内显示各种图形和符号。
目前自定义有点棘手要更改键绑定,UI 颜色,背景以及添加新的外壳,当前您必须在文本编辑器中编辑 JSON 配置文件。尽管这不太困难,尤其是对于开发人员而言,但这显然是一个临时解决方案,直到实现更直观的方法为止。
值得尝试Windows Terminal 应该是真正的游戏规则改变者。使用 Windows 的命令行工具使工作变得更加容易,从而增加了该平台对开发人员的吸引力。仍有许多工作要做,但是这个项目显示出很大的希望。
更新日志ChangesYou can now and between embedded hyperlinks in Mark ModeBug FixesHyperlink underlines and mouse reports will no longer be off by up to one entire cellTerminal should crash a lot less when you close tabs quicklyWe've resolved a source of deadlocks on console session handoffThe About dialog should act less strange when you open it in multiple windowsClosing the first tab will once again result in its resources being releasedWe've fixed some graphical issues with the new icon and color pickers in Appearance settingsTearing off a tab will no longer result in its panes disappearing (lol)We will now properly save your session when you close the final window... we will also no longer try to save empty windows when you close themThe Japanese names for Split Tab and Rename Tab have been improvedDebugging Terminal (and conhost) will now produce a lot fewer spurious errorsConPTY
ConPTY will now tear down properly if you close its pipes while it is starting upConPTY will no longer hang on startup if you do not provide a well-formed response toDA1