| tIgnore NUL character as a padding character. Telnet may use this. Patch of - s… | |
| git clone git://src.adamsgaard.dk/st | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit b1563526561a913dc2a69ee78eb5aaa09cc98978 | |
| parent 776a022e39a3c8f7c81b35d6b4307ffaa0ae3df8 | |
| Author: Christoph Lohmann <[email protected]> | |
| Date: Thu, 13 Sep 2012 23:21:40 +0200 | |
| Ignore NUL character as a padding character. Telnet may use this. Patch of | |
| Roberto Vargas. | |
| Diffstat: | |
| M st.c | 2 ++ | |
| 1 file changed, 2 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/st.c b/st.c | |
| t@@ -1723,6 +1723,8 @@ tputc(char *c) { | |
| if(sel.bx != -1 && BETWEEN(term.c.y, sel.by, sel.ey)) | |
| sel.bx = -1; | |
| switch(ascii) { | |
| + case '\0': /* padding character, do nothing */ | |
| + break; | |
| case '\t': | |
| tputtab(1); | |
| break; |