rt-thread icon indicating copy to clipboard operation
rt-thread copied to clipboard

[Feature] 为控制台增加ctrl+c 终止当前运行的任务或者命令

Open wdfk-prog opened this issue 1 month ago • 2 comments

Describe problem solved by the proposed feature

[Feature] 为控制台增加ctrl+c 终止当前运行的任务或者命令

Describe your preferred solution

No response

Describe possible alternatives

No response

wdfk-prog avatar Nov 20 '25 07:11 wdfk-prog

这个有些复杂的,smart上实现了ctrl+c,花费的代码数有些多……

BernardXiong avatar Nov 20 '25 19:11 BernardXiong

应该要用信号的吧 但是信号在标准版上占用确实挺大的

illustriousness avatar Nov 21 '25 08:11 illustriousness