diff --git a/st.c b/st.c index 7d359b1..653d3b9 100644 --- a/st.c +++ b/st.c @@ -3265,7 +3265,10 @@ check_control_code: } if (term.c.x+width > term.col) { - tnewline(1); + if (IS_SET(MODE_WRAP)) + tnewline(1); + else + tmoveto(term.col - width, term.c.y); gp = &term.line[term.c.y][term.c.x]; }