aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.c b/st.c
index 4c6783b..f063029 100644
--- a/st.c
+++ b/st.c
@@ -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 {