diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -2742,12 +2742,13 @@ kmap(KeySym k, uint state) { | |||
| 2742 | continue; | 2742 | continue; |
| 2743 | if(term.numlock && kp->appkey == 2) | 2743 | if(term.numlock && kp->appkey == 2) |
| 2744 | continue; | 2744 | continue; |
| 2745 | } else if (kp->appkey < 0 && IS_SET(MODE_APPKEYPAD)) { | 2745 | } else if(kp->appkey < 0 && IS_SET(MODE_APPKEYPAD)) { |
| 2746 | continue; | 2746 | continue; |
| 2747 | } | 2747 | } |
| 2748 | 2748 | ||
| 2749 | if((kp->appcursor < 0 && IS_SET(MODE_APPCURSOR)) || | 2749 | if((kp->appcursor < 0 && IS_SET(MODE_APPCURSOR)) || |
| 2750 | (kp->appcursor > 0 && !IS_SET(MODE_APPCURSOR))) { | 2750 | (kp->appcursor > 0 |
| 2751 | && !IS_SET(MODE_APPCURSOR))) { | ||
| 2751 | continue; | 2752 | continue; |
| 2752 | } | 2753 | } |
| 2753 | 2754 | ||
