<blockquote>
<p>Nope, when I try it in <code>examples/gnrc_networking</code> with <code>ping6 -c 10000 fe80::...</code> (where the address is the address of another node or the TAP bridge), I'm not able to cancel it.</p>
</blockquote>
<p>I didn't test this yet but it sounds like you're thinking this should terminate a running process with ^C (that's what <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="396276597" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/10715" data-hovercard-type="issue" data-hovercard-url="/RIOT-OS/RIOT/issues/10715/hovercard" href="https://github.com/RIOT-OS/RIOT/issues/10715">#10715</a> 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.</p>
<p>In practice it looks like this:</p>
<pre><code>> pin6 26^C
> ping6 2600::
...
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11004#issuecomment-468598121">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YP65g7Vj6WkYYn98sTMZ6bbZRDCxks5vSO_9gaJpZM4a2ln-">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YPGXvYvjBxAfUYE-mOOe8o1lVfzOks5vSO_9gaJpZM4a2ln-.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"PERSON","message":"@benemorius in #11004: \u003e 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.\r\n\r\nI 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.\r\n\r\nIn practice it looks like this:\r\n```\r\n\u003e pin6 26^C\r\n\u003e ping6 2600::\r\n...\r\n```"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/11004#issuecomment-468598121"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11004#issuecomment-468598121",
"url": "https://github.com/RIOT-OS/RIOT/pull/11004#issuecomment-468598121",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>