Pure Go line editor with history, inspired by linenoise