Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onKeydown事件在使用Flash时,失焦后失效 #46

Closed
private14 opened this issue Apr 17, 2023 · 1 comment
Closed

onKeydown事件在使用Flash时,失焦后失效 #46

private14 opened this issue Apr 17, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@private14
Copy link

用的2.1.10版本,在Flash未结束的时候,如果这时候失去焦点,onKeydown事件会失效。
本来想用onKeydown实现ctrl^c结束执行的功能,但是发现这个问题,请教

@private14 private14 added the bug Something isn't working label Apr 17, 2023
@tzfun
Copy link
Owner

tzfun commented Apr 18, 2023

是有这样一个设定的,失去焦点是不应该再触发这个窗口的on-keydown事件,否则在多个窗口场景下会出现多个terminal实例接收到on-keydown事件,所以设定成仅活跃的窗口才能触发该事件

@tzfun tzfun closed this as completed Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants