CLI readline with cursor navigation and history?

Original message was deleted