accidentally a line
Implement setCursorImage and setCursorState for #1