Skip to content

Commit

Permalink
Fixing meta+return. Thanks Szabolcs Nagy!
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Lohmann committed Nov 3, 2012
1 parent 93a0634 commit 85d16e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions st.c
Original file line number Diff line number Diff line change
Expand Up @@ -2694,6 +2694,9 @@ kpress(XEvent *ev) {
selpaste();
break;
case XK_Return:
if(meta)
ttywrite("\033", 1);

if(IS_SET(MODE_CRLF)) {
ttywrite("\r\n", 2);
} else {
Expand Down

0 comments on commit 85d16e7

Please sign in to comment.