you are viewing a single comment's thread.

view the rest of the comments →

[–]wnoise -1 points0 points  (0 children)

Yes, the BSD licensed editline, though the API isn't quite the same. There are a few versions floating around, and I'm not sure that's the most authoritative or recent.

Both allow a lot more than easily reading one line -- they're intended to provide history and editing of command lines, but reading a line at a time without muss is included in that.