Re: [dev] [st] Rendering only half of emoji in curses-based program
Quoth Steffen Nurpmeso <steffen_AT_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,
Received on Tue Apr 01 2025 - 09:05:08 CEST
This archive was generated by hypermail 2.3.0
: Tue Apr 01 2025 - 09:12:10 CEST