[riot-notifications] [RIOT-OS/RIOT] sys/shell: cancel current line on CTRL-C. (#11004)

Thomas Stilwell notifications at github.com
Fri Mar 1 10:16:45 CET 2019

> Nope, when I try it in `examples/gnrc_networking` with `ping6 -c 10000 fe80::...` (where the address is the address of another node or the TAP bridge), I'm not able to cancel it.

I didn't test this yet but it sounds like you're thinking this should terminate a running process with ^C (that's what #10715 is about) which would be lovely too, but this PR is instead about clearing the command you're typing to get a fresh/empty prompt to replace one that has some partial or wrong command typed in. It's a little thing but it's a very nice thing because the shells we're all accustomed to using on *nix behave this way so it improves our shell UX considerably.

In practice it looks like this:
> pin6 26^C
> ping6 2600::

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190301/08e0b633/attachment.html>

More information about the notifications mailing list