Quoth Steffen Nurpmeso <stef...@sdaoden.eu>: > Note i have no idea and did not truly look into the issue, but > there is a problem with terminals and the lowermost, rightmost > cell. Ie i have, which names termcap/terminfo capabilities
These capabilities are about when the terminal does wrapping. VT100 alike terminals do wrapping when you write past the last column. It means that when you write the last column the cursor stays in the last column and it does not moves to the next line. St behaves like this. All the logic about wide chars is in the function tputc() in st.c. You can try run st from gdb, write in st until you arrive to that column, then set a breakpoint in tputc() using gdb and see what happens when you write that character. It is likely that some miscalculation is done. Regards,