Closed agentofuser closed 4 years ago
The gets symbol reads one line at a time. Is there a way to get unbuffered input immediately on every keystroke? Like if I want to write a repl in min itself and handle keybindings. Thanks!
gets
That's definitely doable, I'll expose nimline's getchr and putchr methods, those should help with your use case 😄
Perfect, thank you! :)
The
gets
symbol reads one line at a time. Is there a way to get unbuffered input immediately on every keystroke? Like if I want to write a repl in min itself and handle keybindings. Thanks!