+/*
+ * The cursor is just an inverted space.
+ */
+#define draw_cursor(ip) { \
+ WINDOWMOVER(ip, ip->cblanky, ip->cblankx, \
+ ip->cury * ip->ftheight, \
+ ip->curx * ip->ftwidth, \
+ ip->ftheight, ip->ftwidth, RR_XOR); \
+ ip->cursorx = ip->curx; \
+ ip->cursory = ip->cury; }
+
+#define erase_cursor(ip) \
+ WINDOWMOVER(ip, ip->cblanky, ip->cblankx, \
+ ip->cursory * ip->ftheight, \
+ ip->cursorx * ip->ftwidth, \
+ ip->ftheight, ip->ftwidth, RR_XOR);
+