Colon-separated SGR (new version; ':' is the legacy one)

---
st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/st.c b/st.c
index b9f66e7..7c1cb9a 100644
--- a/st.c
+++ b/st.c
@@ -1149,7 +1149,7 @@ csiparse(void)
                        v = -1;
                csiescseq.arg[csiescseq.narg++] = v;
                p = np;
-               if (*p != ';' || csiescseq.narg == ESC_ARG_SIZ)
+               if ((*p != ';' && *p != ':') || csiescseq.narg == ESC_ARG_SIZ)
                        break;
                p++;
        }
--
2.43.0

Reply via email to