From: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 2 Sep 2012 17:09:35 +0000 (+0200)
Subject: Enable multiple arguments in SM and RM
X-Git-Url: https://git.xinqibao.xyz/st.git/commitdiff_plain/c79df9f78d0defed1c7420201416c10768c46076?ds=sidebyside;hp=c79df9f78d0defed1c7420201416c10768c46076

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(-)
---