diff options
author | Christoph Lohmann <20h@r-36.net> | 2013-01-19 18:38:28 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2013-01-19 18:38:28 +0100 |
commit | b4b513c791e01e46399b460789b830ddfc7cb425 (patch) | |
tree | c195924577027c8e9ee413b992d86136bc59d004 | |
parent | 15c2bff9faa87644abf96c19b17133d03d40b974 (diff) | |
download | st-patched-b4b513c791e01e46399b460789b830ddfc7cb425.tar.bz2 st-patched-b4b513c791e01e46399b460789b830ddfc7cb425.tar.xz st-patched-b4b513c791e01e46399b460789b830ddfc7cb425.zip |
Make line drawing work again.
-rw-r--r-- | st.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1987,10 +1987,13 @@ tputc(char *c, int len) { | |||
1987 | term.esc = ESC_START; | 1987 | term.esc = ESC_START; |
1988 | return; | 1988 | return; |
1989 | case '\016': /* SO */ | 1989 | case '\016': /* SO */ |
1990 | term.c.attr.mode |= ATTR_GFX; | ||
1991 | return; | ||
1992 | case '\017': /* SI */ | 1990 | case '\017': /* SI */ |
1993 | term.c.attr.mode &= ~ATTR_GFX; | 1991 | /* |
1992 | * Different charsets are hard to handle. Applications | ||
1993 | * should use the right alt charset escapes for the | ||
1994 | * only reason they still exist: line drawing. The | ||
1995 | * rest is incompatible history st should not support. | ||
1996 | */ | ||
1994 | return; | 1997 | return; |
1995 | case '\032': /* SUB */ | 1998 | case '\032': /* SUB */ |
1996 | case '\030': /* CAN */ | 1999 | case '\030': /* CAN */ |