summaryrefslogtreecommitdiff
path: root/src/engine-target.ts
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-08-03 21:45:52 +0100
committerIgor Soarez <igor@soarez.org>2026-08-03 21:45:52 +0100
commit97b7804d02d0a8ffc9afdc64069069baf93ef392 (patch)
treefffec5e88e8379cc48670c110696e47a30fd5ff8 /src/engine-target.ts
parentdb69207c06e8d5233bff4996e3ef5b43332d533f (diff)
Make /search-engine speak in print mode
ctx.ui.notify is a no-op when hasUI is false, so `pi -p /search-engine` changed the stored engine and printed nothing — the command looked broken. Print mode now falls back to stdout. JSON mode deliberately does not: its stdout is a structured event stream and a stray line would corrupt it.
Diffstat (limited to 'src/engine-target.ts')
0 files changed, 0 insertions, 0 deletions