I am trying to capture the cursor position when the user hits the enter key. However, the cursor always jumps to the end of the current word it is in before I get control in