diff options
| author | Michelle Tilley <michelle@michelletilley.net> | 2026-03-09 12:25:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-09 12:25:05 -0700 |
| commit | cef260651cf6c3658b639b06d71a8b643d9b1c67 (patch) | |
| tree | c3661207168ae36212bad91ec882ca7ea28b476c /.github/workflows/release.yml | |
| parent | feat: Allow setting multipliers for frequency, recency, and frecency scores (... (diff) | |
| download | atuin-cef260651cf6c3658b639b06d71a8b643d9b1c67.zip | |
feat: Allow running `atuin search -i` as subcommand (#3208)
Allow `atuin search -i` to work in command substitution contexts like
`VAR=$(atuin search -i)`.
Previously this would fail with "The cursor position could not be read
within a normal duration" because stdout was captured by the subshell,
preventing terminal queries from working.
Changes:
- When stdout isn't a terminal, fall back to /dev/tty for TUI rendering
(Unix only)
- Force fullscreen mode in this case (inline mode requires cursor
position queries that don't work with captured stdout)
- Write the selected command to stdout (instead of stderr) when stdout
is captured, so it gets assigned to the variable
Fixes #3207
Diffstat (limited to '.github/workflows/release.yml')
0 files changed, 0 insertions, 0 deletions
