]> Sergey Matveev's repositories - st.git/commit
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)
commit7988713b358ad709c6b311a62fa0cd4f0b30e000
tree8a18b2f407771bbb7dbccfc94051718245d127fc
parent499671f3bfb85b4b25bbd2c612a147a7e95269b4
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