Closed
Description
If you setup the REPL to be on a UART, then Control-C on the UART doesn't work. It works fine when connected over USB-serial.
Currently, the function to control whether Control-C should interrupt the REPL or not can be found in pyb.USB_VCP().
I'd like to propose that we move this someplace else (perhaps machine) and have that function call usb_vcp_set_interrupt_char and/or some new uart_set_interrupt_char function depending on how the repl is currently setup.
We could perhaps rename it to repl_setinterrupt, or leave it as setinterrupt. Just thought I'd throw this out to see what others think.
Metadata
Metadata
Assignees
Labels
No labels