Test for bug 51344: move left/right by character should not hang.

Success
Success
