diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-11-04 00:04:56 +0100 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-11-04 00:04:56 +0100 |
| commit | 0fbe1559c8a62a87ea3af19366220bd790179f4c (patch) | |
| tree | 32b64efdffa3e9aab7e4e008d8ec1bb5a29772ba | |
| parent | Removing the debugging for the last fix too. (diff) | |
| download | st-0fbe1559c8a62a87ea3af19366220bd790179f4c.tar.gz st-0fbe1559c8a62a87ea3af19366220bd790179f4c.zip | |
Fixing meta+return. Thanks Szabolcs Nagy!
Diffstat (limited to '')
| -rw-r--r-- | st.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -2694,6 +2694,9 @@ kpress(XEvent *ev) { | |||
| 2694 | selpaste(); | 2694 | selpaste(); |
| 2695 | break; | 2695 | break; |
| 2696 | case XK_Return: | 2696 | case XK_Return: |
| 2697 | if(meta) | ||
| 2698 | ttywrite("\033", 1); | ||
| 2699 | |||
| 2697 | if(IS_SET(MODE_CRLF)) { | 2700 | if(IS_SET(MODE_CRLF)) { |
| 2698 | ttywrite("\r\n", 2); | 2701 | ttywrite("\r\n", 2); |
| 2699 | } else { | 2702 | } else { |
