diff --git a/config.def.h b/config.def.h index 2cd740a..91ab8ca 100644 --- a/config.def.h +++ b/config.def.h @@ -53,7 +53,7 @@ int allowwindowops = 0; * near minlatency, but it waits longer for slow updates to avoid partial draw. * low minlatency will tear/flicker more, as it can "detect" idle too early. */ -static double minlatency = 2; +static double minlatency = 8; static double maxlatency = 33; /* diff --git a/config.mk b/config.mk index fdc29a7..1e306f8 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # st version -VERSION = 0.9.2 +VERSION = 0.9 # Customize below to fit your system diff --git a/st.c b/st.c index 57c6e96..d6478f5 100644 --- a/st.c +++ b/st.c @@ -1132,7 +1132,6 @@ csiparse(void) { char *p = csiescseq.buf, *np; long int v; - int sep = ';'; /* colon or semi-colon, but not both */ csiescseq.narg = 0; if (*p == '?') { @@ -1150,9 +1149,7 @@ csiparse(void) v = -1; csiescseq.arg[csiescseq.narg++] = v; p = np; - if (sep == ';' && *p == ':') - sep = ':'; /* allow override to colon once */ - if (*p != sep || csiescseq.narg == ESC_ARG_SIZ) + if (*p != ';' || csiescseq.narg == ESC_ARG_SIZ) break; p++; } @@ -1646,7 +1643,7 @@ csihandle(void) ttywrite(vtiden, strlen(vtiden), 0); break; case 'b': /* REP -- if last char is printable print it more times */ - LIMIT(csiescseq.arg[0], 1, 65535); + DEFAULT(csiescseq.arg[0], 1); if (term.lastc) while (csiescseq.arg[0]-- > 0) tputc(term.lastc); @@ -1731,7 +1728,6 @@ csihandle(void) } break; case 'S': /* SU -- Scroll line up */ - if (csiescseq.priv) break; DEFAULT(csiescseq.arg[0], 1); tscrollup(term.top, csiescseq.arg[0]); break; diff --git a/st.info b/st.info index efab2cf..8201ad6 100644 --- a/st.info +++ b/st.info @@ -184,10 +184,6 @@ st-mono| simpleterm monocolor, # XTerm extensions rmxx=\E[29m, smxx=\E[9m, - BE=\E[?2004h, - BD=\E[?2004l, - PS=\E[200~, - PE=\E[201~, # disabled rep for now: causes some issues with older ncurses versions. # rep=%p1%c\E[%p2%{1}%-%db, # tmux extensions, see TERMINFO EXTENSIONS in tmux(1) diff --git a/x.c b/x.c index bd23686..b36fb8c 100644 --- a/x.c +++ b/x.c @@ -1617,9 +1617,6 @@ xseticontitle(char *p) XTextProperty prop; DEFAULT(p, opt_title); - if (p[0] == '\0') - p = opt_title; - if (Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle, &prop) != Success) return; @@ -1634,9 +1631,6 @@ xsettitle(char *p) XTextProperty prop; DEFAULT(p, opt_title); - if (p[0] == '\0') - p = opt_title; - if (Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle, &prop) != Success) return;