X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/8ac0a5f872b0024bab161fa020126013724758ba..eeae9b0ceef9e2fec4cb4f1132748c302e5ac702:/st.c diff --git a/st.c b/st.c index df58e9e..c3a04c5 100644 --- a/st.c +++ b/st.c @@ -962,7 +962,7 @@ selcopy(void) { * st. * FIXME: Fix the computer world. */ - if(y < sel.ne.y && !((gp-1)->mode & ATTR_WRAP)) + if(y < sel.ne.y && x > 0 && !((gp-1)->mode & ATTR_WRAP)) *ptr++ = '\n'; /*