Skip to content
Snippets Groups Projects
Commit 1684c170 authored by deuce's avatar deuce
Browse files

If doorway mode has been enabled, send a NULL before sending a control

character.
parent f4683b29
No related branches found
No related tags found
No related merge requests found
...@@ -199,6 +199,8 @@ void ansi_sendch(char ch) ...@@ -199,6 +199,8 @@ void ansi_sendch(char ch)
ansi_row=ansi_rows-1; ansi_row=ansi_rows-1;
} }
} }
if(doorway_enabled && ch < ' ')
fwrite("",1,1,stdout);
fwrite(&ch,1,1,stdout); fwrite(&ch,1,1,stdout);
/* We sent a control char... better make the next movement explicit */ /* We sent a control char... better make the next movement explicit */
if(ch<' ' && ch > 0) if(ch<' ' && ch > 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment