fix: cursor key handler