MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / append_uart_bytes

Function append_uart_bytes

src/machine_window.rs:1016–1029  ·  view source on GitHub ↗

Append UART output bytes to the console buffer, interpreting the control codes a terminal cares about. Backspace (0x08) erases the previous character so the shell's `BS space BS` erase sequence visibly deletes a character; carriage returns are dropped (the shell uses newlines).

(buf: &mut String, bytes: &[u8])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

maybe_tickMethod · 0.85

Calls 2

popMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected