pub fn add_to_buffer(ch: u8)
Add a character to the keyboard buffer (called from IRQ context).
Ctrl+C (0x03) also sets the global SHELL_INTERRUPTED flag.