--- st.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/st.c b/st.c index 8e25d23..ba6973a 100644 --- a/st.c +++ b/st.c _AT_@ -1814,9 +1814,12 @@ tputc(char *c, int len) { csireset(); term.esc = ESC_START; return; - case '\016': /* XXX: SO */ - case '\017': /* XXX: SI */ + case '\016': /* SO */ + term.c.attr.mode |= ATTR_GFX; break; + case '\017': /* SI */ + term.c.attr.mode &= ~ATTR_GFX; + return; case '\032': /* SUB */ case '\030': /* CAN */ csireset(); -- 1.7.10.4 --yrj/dFKFPuw6o+aM Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="0004-Print-control-codes-only-in-graphic-mode.patch"Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Sat Oct 06 2012 - 19:24:02 CEST