aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-01-19 18:38:28 +0100
committerChristoph Lohmann <20h@r-36.net>2013-01-19 18:38:28 +0100
commitb4b513c791e01e46399b460789b830ddfc7cb425 (patch)
treec195924577027c8e9ee413b992d86136bc59d004
parent15c2bff9faa87644abf96c19b17133d03d40b974 (diff)
downloadst-b4b513c791e01e46399b460789b830ddfc7cb425.tar.gz
Make line drawing work again.
-rw-r--r--st.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/st.c b/st.c
index 7b0fb21..769de8b 100644
--- a/st.c
+++ b/st.c
@@ -1987,10 +1987,13 @@ tputc(char *c, int len) {
term.esc = ESC_START;
return;
case '\016': /* SO */
- term.c.attr.mode |= ATTR_GFX;
- return;
case '\017': /* SI */
- term.c.attr.mode &= ~ATTR_GFX;
+ /*
+ * Different charsets are hard to handle. Applications
+ * should use the right alt charset escapes for the
+ * only reason they still exist: line drawing. The
+ * rest is incompatible history st should not support.
+ */
return;
case '\032': /* SUB */
case '\030': /* CAN */
remember that computers suck.