]> git.lizzy.rs Git - micro.git/blob - src/cursor.d
Start selection box
[micro.git] / src / cursor.d
1 import termbox;
2
3 class Cursor {
4     int x, y;
5     int lastX;
6
7     uint selectionStart;
8     uint selectionEnd;
9
10     this() {}
11
12     this(int x, int y) {
13         this.x = x;
14         this.y = y;
15     }
16
17     void hide() {
18         x = y = -1;
19     }
20 }