Compare human readable key codes with chars literals.

Many sequences are actually human readable and fall into the printable
ASCII subset, they are a lot more recognizable when written as chars
compared to numbers.

For example up arrow is sent back from the terimal as ESC [A, and so
forth.

This commit makes the code speak the same "language" that you find in
any terminal escape sequences documentation.
1 file changed
tree: 6f46c83d286ab5c61ef574476c1de79bdb55ebc1
  1. .gitignore
  2. example.c
  3. linenoise.c
  4. linenoise.h
  5. Makefile
  6. README.markdown