linux: add editlib for console input
Merge pull request #54 from andrew-elder/master

linux: add editlib for console input