Add readline integration