TextEntry: disable the enter key when there's nothing to send