Commit cefa1ad
fix: allow interactive prompts to access terminal in shell function
The shell function wrapper was capturing output which broke promptui's
interactive selection for commands like 'wt co', 'wt rm', 'wt pr', 'wt mr'.
Now detects when these commands are run without arguments and executes
them directly without output capture, preserving terminal access for
interactive prompts while still maintaining auto-cd functionality for
commands with arguments.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d9f4c26 commit cefa1ad
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
627 | 639 | | |
628 | 640 | | |
629 | 641 | | |
| |||
0 commit comments