Select the types of activity you want to include in your feed.
Fix Enter becoming j in Helix and other raw-mode TUIs.
Host stty sane left ICRNL on, so Enter was relayed as NL (0x0A). Crossterm maps that to Ctrl+J / Char('j') in raw mode, breaking :wq. Disable ICRNL while externals run so Enter stays CR.
···27242724 %% left on, Ctrl+C sits in the line buffer until Enter and our key
27252725 %% relay never sees it (external freezes; second ^C looks wedged)
27262726 %% - -echo: host must not echo keys we relay into the child PTY
27272727+ %% - -icrnl: keep Enter as CR (0x0D). `sane` enables ICRNL, which turns
27282728+ %% Enter into NL (0x0A). Relayed into a raw-mode child (hx/vim/…),
27292729+ %% crossterm treats 0x0A as Ctrl+J → Char('j'), so `:wq` + Enter
27302730+ %% inserts `j` instead of submitting the command.
27272731 _ = stty_run([
27282732 "sane",
27292733 "-isig",
···27322736 "1",
27332737 "time",
27342738 "0",
27352735- "-echo"
27392739+ "-echo",
27402740+ "-icrnl"
27362741 ]),
27372742 ok.
27382743