# Extra 'j' appended stdin but not really present

**URL:** <https://forum.codecrafters.io/t/extra-j-appended-stdin-but-not-really-present/15489>\
**Category:** Challenges\
**Tags:** challenge:shell\
**Created:** [November 4, 2025, 2:17pm UTC](https://forum.codecrafters.io/t/extra-j-appended-stdin-but-not-really-present/15489 "2025-11-04T14:17:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [November 5, 2025, 5:58am UTC](https://forum.codecrafters.io/t/extra-j-appended-stdin-but-not-really-present/15489/5 "2025-11-05T05:58:05Z")

</div>

Hey @sandipndev, looks like **crossterm** maps newline (`0xA`) to Ctrl+J in raw mode:

> <https://github.com/crossterm-rs/crossterm/blob/6af9116b6a8ba365d8d8e7a806cbce318498b84d/src/event/sys/unix/parse.rs#L95+L98>

> <https://github.com/crossterm-rs/crossterm/blob/6af9116b6a8ba365d8d8e7a806cbce318498b84d/src/event/sys/unix/parse.rs#L106+L109>

---

_[View the full topic](https://forum.codecrafters.io/t/extra-j-appended-stdin-but-not-really-present/15489)._
