Skip to content

功能请求:支持 Windows「默认终端」(defterm 委托) #93

Closed

Description

@YangTengYi

What it is for

首先感谢开发这款优秀的终端!

在 Windows 11 上,我希望能把 ELYTerminal 设为系统默认终端,
这样其他程序启动的命令行会话(Win+R、第三方应用的"在终端中打开"、
控制台程序等)就能直接在 ELYTerminal 中打开,而不是 Windows
控制台主机。

要实现这个功能,需要实现 Windows 的控制台会话委托机制
(COM 接口:DelegationConsole / DelegationTerminal),并将应用
注册为默认终端提供程序。注册成功后,ELYTerminal 会出现在
「Windows 设置 > 隐私和安全性 > 开发者选项 > 终端」以及
Windows Terminal 设置页的「默认终端应用程序」下拉列表中,
用户即可自行选择。

希望能在后续版本中考虑支持这一功能,谢谢!

环境:Windows 11 21H2 (build 22000),ELYTerminal 0.2.4

How it should work

No response

References

No response

Checked

  • I searched the open issues for the same request.

Activity

  1. added
    enhancement
    on Nov 12, 2026
  2. Raiden-MeixElysia commented on Nov 14, 2026

    @Raiden-MeixElysia
    Contributor

    主分支已加上,下一版发布:设置 › 终端 › 默认终端,点“设为默认”后,“运行”和其他程序启动的控制台程序会在 ELYTerminal 里打开,只对当前用户生效;“还原”把选择交还给 Windows。Windows 设置和 Windows Terminal 里的“默认终端应用程序”列表只列出打包安装的应用,ELYTerminal 的 zip 和安装包不会出现在那里,所以用这个开关代替。在装有 Windows Terminal 的 Windows 11 上测过;没装 Windows Terminal 的机器还没测。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions