diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-13 20:04:50 +0100 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-13 20:04:50 +0100 |
commit | 3b16695f4e8a29f47ad273912065dfba53544a29 (patch) | |
tree | a0fdcffb22ae431323765ab3c6c246decff68e22 /st.info%2525253fid%2525253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%25253fid%25253d620e3bb39ebe617b69b5cb1323b4f47c2f699527&id2%25253d44597b359e030d86e16ab9b6510f54366d57e5ac%253fid%253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%3fid%3d44597b359e030d86e16ab9b6510f54366d57e5ac?id=3b16695f4e8a29f47ad273912065dfba53544a29 | |
parent | ea782bfc5d34d712bc9391e498935d2d27f3116c (diff) |
Fix arrow keys terminfo capabilities
Usually the arrow keys generate the ANSI sequence which terminal will
understand like a movement, so it is not necessary any dealing for them, the
program can not know if the sequence is generate for a echo key or directly
from the program. If you need really know if the key was pressed then you
need activate the keypad mode where the keys will generate a special code
for each keypad key.
The terminfo capabilities kcub1, kcud1, kcuf1 and kcuu1 are used for this
keypad code, not for the sequence generate in the ansi mode.
---
st.info | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Diffstat (limited to 'st.info%2525253fid%2525253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%25253fid%25253d620e3bb39ebe617b69b5cb1323b4f47c2f699527&id2%25253d44597b359e030d86e16ab9b6510f54366d57e5ac%253fid%253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%3fid%3d44597b359e030d86e16ab9b6510f54366d57e5ac?id=3b16695f4e8a29f47ad273912065dfba53544a29')
0 files changed, 0 insertions, 0 deletions