diff options
| author | Igor Soarez <igor@soarez.org> | 2026-08-03 21:45:52 +0100 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-08-03 21:45:52 +0100 |
| commit | 97b7804d02d0a8ffc9afdc64069069baf93ef392 (patch) | |
| tree | fffec5e88e8379cc48670c110696e47a30fd5ff8 /src/search.ts | |
| parent | db69207c06e8d5233bff4996e3ef5b43332d533f (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/search.ts')
0 files changed, 0 insertions, 0 deletions
