X-Git-Url: https://git.danieliu.xyz/?p=st.git;a=blobdiff_plain;f=st.c;h=1414f989c4f4c8b6153c57d071dd13a741a54c30;hp=5d4054f619f6646ffe5db2d5768cfbddf6254a2d;hb=cde480c6939e62771ba3b60ef4eb848031aee9f9;hpb=8211e36d281990a39db1853bcd454ac59e53d521 diff --git a/st.c b/st.c index 5d4054f..1414f98 100644 --- a/st.c +++ b/st.c @@ -2307,7 +2307,7 @@ tputc(Rune u) Glyph *gp; control = ISCONTROL(u); - if (!IS_SET(MODE_UTF8 | MODE_SIXEL)) { + if (u < 127 || !IS_SET(MODE_UTF8 | MODE_SIXEL)) { c[0] = u; width = len = 1; } else {