X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/f8db65439a705f5e94c7a130ac44689e050e5654..9df1e56142527de1b8917434093d25212dd9da1e:/st.c diff --git a/st.c b/st.c index 578c7ee..f063029 100644 --- a/st.c +++ b/st.c @@ -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 { @@ -2742,8 +2745,6 @@ cresize(int width, int height) col = (xw.w - 2*borderpx) / xw.cw; row = (xw.h - 2*borderpx) / xw.ch; - if(col == term.col && row == term.row) - return; tresize(col, row); xresize(col, row);