use modestr readline functionality in ps1