mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-23 17:30:24 +00:00
17 lines
195 B
D
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;
|
|
}
|
|
}
|