about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-09 10:32:35 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-09 10:32:35 -0700
commit9e5ceacd74dce8d4ce971b7bfd9c7c74f28e51c6 (patch)
tree2189684344b87647a02e3c94f223b0ab9526c94f
parent9ba313ab7ff8c2c0998fd3f81411a327adbbfe84 (diff)
downloadmu-9e5ceacd74dce8d4ce971b7bfd9c7c74f28e51c6.tar.gz
1314
-rw-r--r--termbox/termbox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/termbox/termbox.h b/termbox/termbox.h
index 3e2228de..b1b75ac8 100644
--- a/termbox/termbox.h
+++ b/termbox/termbox.h
@@ -82,7 +82,8 @@ void tb_change_cell(int x, int y, uint32_t ch, uint16_t fg, uint16_t bg);
 
 struct tb_event {
   uint8_t type;
-  /* fields for type TB_EVENT_KEY */
+  /* fields for type TB_EVENT_KEY. At most one of 'key' and 'ch' will be set at
+   * any time. */
   uint16_t key;
   uint32_t ch;
   /* fields for type TB_EVENT_RESIZE */