Skip to content

Commit

Permalink
Fix typo. TB_KEY_ESC -> TB_INPUT_ESC.
Browse files Browse the repository at this point in the history
  • Loading branch information
nsf committed May 7, 2015
1 parent 5833edf commit 7faa3e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/termbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ SO_IMPORT struct tb_cell *tb_cell_buffer();
*
* You can also apply TB_INPUT_MOUSE via bitwise OR operation to either of the
* modes (e.g. TB_INPUT_ESC | TB_INPUT_MOUSE). If none of the main two modes
* were set, but the mouse mode was, TB_KEY_ESC mode is used. If for some reason
* you've decided to use (TB_INPUT_ESC | TB_INPUT_ALT) combination, it will
* behave as if TB_INPUT_ESC was selected.
* were set, but the mouse mode was, TB_INPUT_ESC mode is used. If for some
* reason you've decided to use (TB_INPUT_ESC | TB_INPUT_ALT) combination, it
* will behave as if only TB_INPUT_ESC was selected.
*
* If 'mode' is TB_INPUT_CURRENT, it returns the current input mode.
*
Expand Down

0 comments on commit 7faa3e3

Please sign in to comment.