commit | 4115b61663d1cd3882fa029c43374852f8065d25 | [log] [tgz] |
---|---|---|
author | antirez <antirez@gmail.com> | Thu Mar 13 10:30:31 2014 +0100 |
committer | antirez <antirez@gmail.com> | Thu Mar 13 10:30:31 2014 +0100 |
tree | 6f46c83d286ab5c61ef574476c1de79bdb55ebc1 | |
parent | 3e521d47df6158a75ffe4387968b5548e5d05006 [diff] |
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.