console
console copied to clipboard
Add console.ErrCtrC referenced in documentation
The documentation mentions a console.ErrCtrlC
for checking interrupts. However I noticed that said Err does not exist in console package.
This PR adds it in.
Alternatively, could consider modifying the documentation to give an example of how to detect Ctrl+C (i.e. new error from os.Interrupt.String()
)