use setStyle method to set prompt style