anilgulecha/trelby — comment on commit c226b2897d39db518540500180016d382c34d0de
File: src/screenplay.py line 1570
By anilgulecha:

Thanks for catching. However, I disagree with the above behavior.

The only behavior either tab or enter should do with a tab or enter is unselect text is selected (and if no text selected, go with the existing behavior). it is confusing to the user to have two things happen (unselecting of text + creation/split of element). Not good UI practice.

With my suggested (and implemented) behavior, the text simply gets unselected, and the cursor anyway remains in it's old position, so another enter/tab will allow the user to change/create new element. This is easier interaction, that a user will learn quicker.

Updated patch coming shortly.