Is there a simple way to read scancodes from the keyboard without involving third-party libs?
<p>I'm trying to build a shell project in Rust and I ran into trouble in the very beginning. Instead of reading the whole line and output through stdin/stdout, I want to parse every keypress and maintain a buffer until <kbd>Enter</kbd> is pressed. With an ability to move the cursor, backspace, access command history by up/down keys etc.</p>