From c889501587db1d6ddf9440c002a1efc37444e1ca Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 24 Oct 2026 09:32:29 +0200 Subject: ipc: show() is open(), the CLI could never reach it qs ipc has a show subcommand, and its parser takes the word wherever it appears: `qs -p ipc call companion show` printed the target list and exited 0 instead of calling the function. The companion, window switcher and keybind reminder each had a show() no command line could call. The binds use toggle and are unaffected. open() matches the drawer's own. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index faf6b18..cefaf5b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -546,6 +546,11 @@ back. `qs -p ` runs one directly. `qs -p ipc call ` reaches a running one, which is how `SUPER+v` opens the VM drawer. +An `IpcHandler` function named after a `qs ipc` subcommand (`show`, `call`, +`wait`, `listen`, `prop`) cannot be called from the CLI: `ipc call companion +show` runs `ipc show` instead, prints the target list and exits 0. Three +handlers had a `show()` nobody could reach; they are `open()` now. + ## Conventions - GPLv2 only, with the header notice in every source file. -- cgit v1.2.3