fix sendPrompt()

a extra '\0' will be sent when sizeof() is used
Merge pull request #7825 from 2youyouo2/v3

remove cascade color for CorlorFrame
Merge pull request #7816 from xiangxw/fix_sendPrompt

fix sendPrompt()