st.c | 2 +- diff --git a/st.c b/st.c index df58e9e2962977ddc681f0a3909dc0a0db62a317..c3a04c5b0335cbf4ffbd8891c29c012f34c1ceba 100644 --- a/st.c +++ b/st.c @@ -962,7 +962,7 @@ * '\r', when something to be pasted is received by * 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'; /*