optimize the process of the text prompt in the console panel.

merge