Adding better tentative readline support