diff options
Diffstat (limited to 'src/client/cursor.cpp')
-rw-r--r-- | src/client/cursor.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/client/cursor.cpp b/src/client/cursor.cpp deleted file mode 100644 index 4e76151..0000000 --- a/src/client/cursor.cpp +++ /dev/null @@ -1,13 +0,0 @@ -struct Cursor { - int x; - int y; - Window *w; - - void move_left() { - if (x > 0) x--; - } - - void move_right() { - if (x < w->width - 1 && w->pos(x + 1, y) != 0) x++; - } -}; |