Gui behavior - different game logic

I am once again asking for your support.
While playing around with the implementation of wordle i noticed that the gui reacts to a invalid input different than the console does. so i was wondering if the gui has a predefined gamelogic. (it just turns all tiles red and does not give the chance for a new input. the konsole allows this.)