From 5512d56390d75958847265d846a0c19d063c7a80 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 3 Aug 2021 14:04:12 +1000 Subject: Don't wait so long for tmux text. --- src/sledjchisl/sledjchisl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sledjchisl') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 2f282f9..4e1852c 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -1015,7 +1015,7 @@ void waitTmuxText(char *dest, char *text) int i; // Using " for the grep pattern, coz ' might be used in a sim name. // TODO - should escape \ " ` in text. - char *c = xmprintf("sleep 5; %s %s/%s capture-pane -t %s:'%s' -p | grep -F \"%s\" 2>&1 > /dev/null", Tcmd, scRun, Tsocket, Tconsole, dest, text); + char *c = xmprintf("sleep 1; %s %s/%s capture-pane -t %s:'%s' -p | grep -F \"%s\" 2>&1 > /dev/null", Tcmd, scRun, Tsocket, Tconsole, dest, text); T("Waiting for '%s'.", text); do -- cgit v1.1