Fix detect cursor position reading extra byte
Created by: JoshMcguigan
This fixes #136 (closed), ensuring calls to cursor_pos don't consume more bytes that they should.
Created by: JoshMcguigan
This fixes #136 (closed), ensuring calls to cursor_pos don't consume more bytes that they should.