From 29cca706b843fa1675b8d16956fd1cc1dbbbd3da Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 22 Apr 2026 16:19:38 +0300 Subject: h7: add configurable agent filter hotkey --- cmd/tasksamurai/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd') diff --git a/cmd/tasksamurai/main.go b/cmd/tasksamurai/main.go index 8596fab..01bd850 100644 --- a/cmd/tasksamurai/main.go +++ b/cmd/tasksamurai/main.go @@ -24,6 +24,7 @@ func main() { debugLog := flag.String("debug-log", "", "path to debug log file") debugDir := flag.String("debug-dir", "", "directory for runtime debug output (goroutine dumps, profiles)") browserCmd := flag.String("browser-cmd", browserCmdDefault, "command used to open URLs") + agentHotkey := flag.String("agent-hotkey", "3", "key used to toggle the +agent/-agent filter") disco := flag.Bool("disco", false, "enable disco mode") ultra := flag.Bool("ultra", false, "start directly in ultra mode") flag.Parse() @@ -43,6 +44,7 @@ func main() { os.Exit(1) } + m.SetAgentFilterHotkey(*agentHotkey) m.SetDisco(*disco) m.SetUltra(*ultra) -- cgit v1.2.3