mirror of
https://github.com/alrayyes/st.git
synced 2024-11-29 14:06:21 +00:00
Ignore NUL character as a padding character. Telnet may use this. Patch of
Roberto Vargas.
This commit is contained in:
parent
776a022e39
commit
b156352656
1 changed files with 2 additions and 0 deletions
2
st.c
2
st.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue