Detect if readline extension is loaded, print colored success, error and warning messages