mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 15:25:58 +01:00
Make line drawing work again.
This commit is contained in:
parent
15c2bff9fa
commit
b4b513c791
1 changed files with 6 additions and 3 deletions
9
st.c
9
st.c
|
@ -1987,10 +1987,13 @@ tputc(char *c, int len) {
|
||||||
term.esc = ESC_START;
|
term.esc = ESC_START;
|
||||||
return;
|
return;
|
||||||
case '\016': /* SO */
|
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;
|
return;
|
||||||
case '\032': /* SUB */
|
case '\032': /* SUB */
|
||||||
case '\030': /* CAN */
|
case '\030': /* CAN */
|
||||||
|
|
Loading…
Reference in a new issue