fixing prompt wrapping issue with proper color escaping
no new line
ensuring prompt command is called when it should