Print control codes only in graphic mode
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Sat, 6 Oct 2012 17:15:30 +0000 (19:15 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Sat, 6 Oct 2012 17:15:30 +0000 (19:15 +0200)
commit2bd0c23fa7bb42724c75416342d36e00c435f404
tree53abf9a62acb5464decc7388aec2a3bacf7735f2
parent034dc71fb8227e8963f22b123f30962ec0b6bca7
Print control codes only in graphic mode

Non handled codes must be ignored, except in graphic mode. Also STR
sequences have higher priority than control codes, so they must be handled
before of them.
---
 st.c |  160 ++++++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 87 insertions(+), 73 deletions(-)
st.c