shorepine/tulipcc

UART entered keys not getting to editor, nor are control-X or -Q anywhere in Tulip from UART

bwhitman opened this issue · 2 comments

Discord user reports these aren't working properly (control-X)

Yes, an issue here. Over UART, keys to the editor keyboard_callback are going to the REPL, overwriting the editor screen, not into the editor itself. Keys over USB are going to the editor.

Not a fix, but one thing is the idf.py monitor, at least on macOS terminal, will not pass Tulip a UART control-X or control-Q until you do stty -ixon -ixoff before running it. Our actual fix involves the micropython uart ringbuf not passing on characters to the send_keys_to_micropython flow.

i'm not sure what to do about control-Tab, which on my system swaps tabs on the terminal. Maybe we can have a backup key combo for UART users.