diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-12-10 23:02:58 +0100 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-12-10 23:02:58 +0100 |
| commit | 2696f8187509eb94644bbac5b05348e37c391bea (patch) | |
| tree | d6f6c84929a26c38cf998d3f864430f35b1fae63 /st.c | |
| parent | Fixing the nasty selection bug. Thanks p37sitdu@lavabit.com! (diff) | |
| download | st-2696f8187509eb94644bbac5b05348e37c391bea.tar.gz st-2696f8187509eb94644bbac5b05348e37c391bea.zip | |
Be careful about mar77i's patches.
Diffstat (limited to '')
| -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 | ||
