[GH-ISSUE #2524] 大量内容快速输出时Ctrl+C无法及时停止程序 #1630

Open
opened 2026-02-27 00:04:16 +03:00 by kerem · 2 comments
Owner

Originally created by @ChunyuePeng on GitHub (Jun 9, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2524

Electerm Version(Electerm版本)

1.21.57

Platform detail (平台详情)

windows10

What steps will reproduce the bug?(重新问题的详细步骤)

进入某个程序查看日志,此程序在短时间内打印了大量日志。正常情况使用Ctrl+C能够退出查看日志,在此情况下无法及时退出。

What should have happened?(期望的结果)

所下发的指令能及时下发到服务器

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

在xshell中无此问题出现

Additional information(其他任何相关信息)

No response

Originally created by @ChunyuePeng on GitHub (Jun 9, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2524 ### Electerm Version(Electerm版本) 1.21.57 ### Platform detail (平台详情) windows10 ### What steps will reproduce the bug?(重新问题的详细步骤) 进入某个程序查看日志,此程序在短时间内打印了大量日志。正常情况使用Ctrl+C能够退出查看日志,在此情况下无法及时退出。 ### What should have happened?(期望的结果) 所下发的指令能及时下发到服务器 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) 在xshell中无此问题出现 ### Additional information(其他任何相关信息) _No response_
Author
Owner

@imic07 commented on GitHub (Apr 7, 2023):

@zxdong262 同样遇到此问题。可以新建一个文本 test.txt 里面填充大量文字,一行一行的数据。让test.txt 的文件大小达到几百兆。
然后执行命令
cat ./test.txt
最后立即执行ctrl + c 可以看到等很久都不会关闭。

<!-- gh-comment-id:1500150515 --> @imic07 commented on GitHub (Apr 7, 2023): @zxdong262 同样遇到此问题。可以新建一个文本 test.txt 里面填充大量文字,一行一行的数据。让test.txt 的文件大小达到几百兆。 然后执行命令 cat ./test.txt 最后立即执行ctrl + c 可以看到等很久都不会关闭。
Author
Owner

@BearGuardian commented on GitHub (Apr 10, 2023):

我也遇到相同问题

<!-- gh-comment-id:1501280611 --> @BearGuardian commented on GitHub (Apr 10, 2023): 我也遇到相同问题
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1630
No description provided.