about summary refs log tree commit diff stats
path: root/termbox/termbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'termbox/termbox.h')
-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 */