How to reproduce:
- Press enter in any chat box and type some text.
- Hold shift end press the left arrow a couple of times to select some text.
- Press escape.
- Press enter twice.
Result, client crash.
I'm guessing this has something to do with the ingame browser, but this is broken.