summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-22 16:19:38 +0300
committerPaul Buetow <paul@buetow.org>2026-04-22 16:19:38 +0300
commit29cca706b843fa1675b8d16956fd1cc1dbbbd3da (patch)
tree073101d964ff199a9e35edcd341d2443341bf739 /cmd
parent0ae497b3ab3bff2693c319c10057c0f8648928bf (diff)
h7: add configurable agent filter hotkey
Diffstat (limited to 'cmd')
-rw-r--r--cmd/tasksamurai/main.go2
1 files changed, 2 insertions, 0 deletions
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)