diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-02 08:46:56 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-02 08:46:56 +0200 |
| commit | 717cf6a47cd19cc284b023825a3bac3272ebe171 (patch) | |
| tree | 5be553754917157311d107538a99e34b2f8aa839 /internal/eventloop.go | |
| parent | b3327d17f9f5c7080b05d6d5457cf25550d40ad9 (diff) | |
Make --open a command template with no defaults
Diffstat (limited to 'internal/eventloop.go')
| -rw-r--r-- | internal/eventloop.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/eventloop.go b/internal/eventloop.go index 50494dc..0f593fd 100644 --- a/internal/eventloop.go +++ b/internal/eventloop.go @@ -26,7 +26,6 @@ type eventLoopConfig struct { pathFilter string liveFlamegraph bool liveInterval time.Duration - liveOpen bool liveOpenCommand string collapsedFields []string countField string @@ -285,8 +284,7 @@ func (e *eventLoop) run(ctx context.Context, rawCh <-chan []byte) { fmt.Println("Starting live flamegraph server") go func() { liveOptions := flamegraph.LiveServerOptions{ - AutoOpenBrowser: e.cfg.liveOpen, - OpenCommand: e.cfg.liveOpenCommand, + OpenCommand: e.cfg.liveOpenCommand, } if err := flamegraph.ServeLiveWithOptions(ctx, e.liveTrie, e.cfg.liveInterval, liveOptions); err != nil && ctx.Err() == nil { fmt.Println("Live flamegraph server error:", err) |
