linenoise
linenoise copied to clipboard
True embedded support
I am using linenoise over serial on a naked (no OS) ARM Cortex-M4 embedded system. "Ported" the library in 20 seconds by just commenting out the termios, ioctl and file-system dependent stuff. It works perfectly. Does it make sense to apply some ifndef-love to save people like me the trouble of maintaining a separate fork? I can prepare a pull-request if the interest is there.
+1
it makes sense to have a pure library without those side effects (for example, why have a fs? the user may want to use a network query)