summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-15 08:47:24 -0600
committerJeff Carr <[email protected]>2024-12-15 08:47:24 -0600
commit2b1b847143248395bfd3e62c9d37299101a6d2a1 (patch)
treede5d39d7b8bbd65ec8857f87b19034a76617f01a
parentf39c2a86a699690c2d0fe6e7db48ba8f173b050e (diff)
output is too fast to capture with RunRealtime()v0.22.17
-rw-r--r--cmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.go b/cmd.go
index f8fd6c8..cd843c1 100644
--- a/cmd.go
+++ b/cmd.go
@@ -175,7 +175,7 @@ func PathRunRealtime(pwd string, args []string) cmd.Status {
}
statusChan := findCmd.Start() // non-blocking
- ticker := time.NewTicker(5 * time.Millisecond)
+ ticker := time.NewTicker(100 * time.Microsecond)
// this is interesting, maybe useful, but wierd, but neat. interesting even
// Print last line of stdout every 2s