终端 Ctrl+C 无法中断程序 #2872
Answered
by
erha19
chaoyue1217
asked this question in
Q&A
终端 Ctrl+C 无法中断程序
#2872
-
Beta Was this translation helpful? Give feedback.
Answered by
erha19
Jul 19, 2023
Replies: 1 comment 7 replies
-
@chaoyue1217 这里感觉像是环境判断存在问题,如果是 Windows 环境下复制的快捷键应该是 ctrl+shift+c, 你可以排查定位一下原因,相关代码见: |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@chaoyue1217 那这里的问题就是,在终端下,命中了
electron.copy
注册的快捷键ctrl+c
, 你可以检查一下代码内是否有相应的快捷键注册逻辑,需要进行调整或追加when
条件来避免这种情况