micro/src/cursor.d
2016-03-12 16:46:41 -05:00

17 lines
195 B
D

import termbox;
class Cursor {
int x, y;
int lastX;
this() {}
this(int x, int y) {
this.x = x;
this.y = y;
}
void hide() {
x = y = -1;
}
}