cancelLine method
void
cancelLine()
Discards the line being typed and shows a fresh prompt.
The shell calls this when Ctrl+C is pressed at the prompt.
Implementation
void cancelLine() {
_cancel();
_process();
}
Discards the line being typed and shows a fresh prompt.
The shell calls this when Ctrl+C is pressed at the prompt.
void cancelLine() {
_cancel();
_process();
}