JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Enable multiple arguments in SM and RM
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Sun, 2 Sep 2012 17:09:35 +0000 (19:09 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Sun, 2 Sep 2012 17:09:35 +0000 (19:09 +0200)
commitc79df9f78d0defed1c7420201416c10768c46076
tree8a18b2f407771bbb7dbccfc94051718245d127fc
parent4cdcc395397f7b7db48265f5ce0949effaf99c1f
Enable multiple arguments in SM and RM

SM and RM can receive multiple parameters, but the code only was accepting
only one. This patch join the code of set and reset modes (SM and RM) in a
common function and uses a loop which deals with all the arguments of the
sequence. This patch improves xterm and vt100 compability.
---
 st.c |  180 ++++++++++++++++++++++++++++--------------------------------------
 1 file changed, 76 insertions(+), 104 deletions(-)
st.c