[readline] fix some highlighting issues for search/sql