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

Function collect_ctrl_bytes

src/machine_window.rs:1080–1103  ·  view source on GitHub ↗

Collect this frame's Ctrl+letter presses as control-character bytes (`0x01`-`0x1A`). Used by the framebuffer view to forward Ctrl-C to the UART (where the shell's wait poll sees it) without dumping ordinary keystrokes there -- those go to the keyboard device for the running program to read.

(ui: &egui::Ui)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

render_framebufferMethod · 0.85

Calls 2

pushMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected