Add auto-history recall (WIP)