mirror of
https://github.com/pikami/st.git
synced 2024-11-25 13:25:43 +00:00
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(-)
This commit is contained in:
parent
ea782bfc5d
commit
3b16695f4e
Loading…
Reference in New Issue
Block a user