diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-08-08 13:48:07 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-09 21:08:07 +0200 |
commit | 5ae2f6e9ec077432dc56d5cb8fc5c26c5cca8517 (patch) | |
tree | 4b388dc3e4c7a76175b5484c23c64ecc8e9056b8 /AK/LogStream.cpp | |
parent | c81c8b68bb7a0b8aa6989d505002fa697014919b (diff) | |
download | serenity-5ae2f6e9ec077432dc56d5cb8fc5c26c5cca8517.zip |
Shell: Stop a for loop upon receiving two consecutive interruptions
This does not work perfectly (just like every other shell...), if the
running program handles the signal (SIGINT in this case) and quits
cleanly, the shell cannot detect the interruption.
This is the case with our `sleep(1)`.
Diffstat (limited to 'AK/LogStream.cpp')
0 files changed, 0 insertions, 0 deletions