X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=st.c;fp=st.c;h=134e7242e9b18d33dd82df401cbd266d9b9f30fd;hb=211964d56ee00a7d46e251cbc150afb79138ae37;hp=49357cc9d11b1ad6bd8a954ee626f3a5d309877b;hpb=f17abd25b376c292f783062ecf821453eaa9cc4c;p=st.git diff --git a/st.c b/st.c index 49357cc..134e724 100644 --- a/st.c +++ b/st.c @@ -2422,6 +2422,9 @@ check_control_code: * they must not cause conflicts with sequences. */ if (control) { + /* in UTF-8 mode ignore handling C1 control characters */ + if (IS_SET(MODE_UTF8) && ISCONTROLC1(u)) + return; tcontrolcode(u); /* * control codes are not shown ever