X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=st.c;h=653cd49a5af05cf214cd394f4bce159b0e10d4f4;hb=4a8574b439e2118bd4cb40374185fba861903620;hp=c9ef574018bdd32907762bde868da1833deea977;hpb=844c503c800e5e1db1e409f5db729431ee2e5c00;p=st.git diff --git a/st.c b/st.c index c9ef574..653cd49 100644 --- a/st.c +++ b/st.c @@ -992,7 +992,7 @@ selnotify(XEvent *e) { } /* - * As seen in selcopy: + * As seen in getsel: * Line endings are inconsistent in the terminal and GUI world * copy and pasting. When receiving some selection data, * replace all '\n' with '\r'. @@ -2674,7 +2674,9 @@ tresize(int col, int row) { if(0 < col && minrow < row) { tclearregion(0, minrow, col - 1, row - 1); } + tcursor(CURSOR_SAVE); tswapscreen(); + tcursor(CURSOR_LOAD); } while(orig != term.line); return (slide > 0);