about summary refs log tree commit diff stats
path: root/termbox/termbox.h
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-05-13 20:47:07 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-05-13 20:48:16 -0700
commit27ec57de4cc5eddd80f9faf198c0cebc345c1949 (patch)
treef85ec7a45b31f71925775c2a11ef6ff34765cf15 /termbox/termbox.h
parent6f4ce8654319ec2d5099d5d01a63d8e2e5ea0c6f (diff)
downloadmu-27ec57de4cc5eddd80f9faf198c0cebc345c1949.tar.gz
3858
Lose the ability to hide the cursor. If we want to stop buffering the screen
in termbox, it needs to go.

What's more, it has no tests.
Diffstat (limited to 'termbox/termbox.h')
-rw-r--r--termbox/termbox.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/termbox/termbox.h b/termbox/termbox.h
index 4c5d327a..64c1c4eb 100644
--- a/termbox/termbox.h
+++ b/termbox/termbox.h
@@ -60,12 +60,8 @@ struct tb_cell *tb_cell_buffer();
 void tb_clear(void);
 void tb_set_clear_attributes(uint16_t fg, uint16_t bg);
 
-/* Move the cursor. Upper-left character is (0, 0).
- */
+/* Move the cursor. Upper-left character is (0, 0). */
 void tb_set_cursor(int cx, int cy);
-/* To hide the cursor, call tb_set_cursor(TB_HIDE_CURSOR, TB_HIDE_CURSOR).
- * Cursor starts out hidden. */
-#define TB_HIDE_CURSOR -1
 
 /* Modify a specific cell of the screen. Don't forget to call tb_present() to
  * commit your changes. */