Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
15c2bff
)
Make line drawing work again.
author
Christoph Lohmann <
[email protected]
>
Sat, 19 Jan 2013 17:38:28 +0000
(18:38 +0100)
committer
Christoph Lohmann <
[email protected]
>
Sat, 19 Jan 2013 17:38:28 +0000
(18:38 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
7b0fb21
..
769de8b
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-1987,10
+1987,13
@@
tputc(char *c, int len) {
term.esc = ESC_START;
return;
case '\016': /* SO */
term.esc = ESC_START;
return;
case '\016': /* SO */
- term.c.attr.mode |= ATTR_GFX;
- return;
case '\017': /* SI */
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 */
return;
case '\032': /* SUB */
case '\030': /* CAN */