[GUI] When the enter key is pressed, inputted text is parsed.