cmder有没有重启当前控制台的快捷键?

Is there a keyboard shortcut to restart the current console in cmder?

ConEmu 似乎有 https://conemu.github.io/en/KeyboardShortcuts.html "Win+~" 但是在 cmder 中重新启动当前控制台的方法会很棒。

干杯

转到设置 - 主要 - 键和宏 然后从列表中选择 select "Recreate active console" 并为其设置热键。 此操作将显示一个包含三个按钮的对话框:重新启动、终止、取消。重新启动是一个默认按钮,您可以通过按 ENTER 键来选择它。

根据目前cmder的帮助:

 Recreate(<Action>[,<Confirm>[,<AsAdmin>]]), alias "Create"
  - Create new tab or restart existing one
     Action: 0 - create tab, 1 - restart tab, 2 - create window
     Confirm: 1 - show ‘Create new console’ dialog, 0 - don't show
     AsAdmin: 1 - start elevated tab

打开设置 - 键和宏 - Select 下拉菜单中的宏 - 使用未使用的宏位置之一(将宏输入 GUI 宏)

示例:

Recreate(1, 0, 1)

重新启动选项卡 - 不显示确认 window - 以管理员身份启动