-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Describe the bug
When I wrap my project in fang, my command's output isn't compatible with fzf.
Setup
Please complete the following information along with version numbers, if applicable.
- OS: macOS
- Shell: fish
- Terminal Emulator: wezterm
- Terminal Multiplexer: tmux
Note: you might encounter rendering issues if your locale does not use
UTF-8
encoding. Please check your locale (locale
on POSIX systems) to
see what encoding is being used by your system.
To Reproduce
Steps to reproduce the behavior:
- Wrap cobra project with fang
- Call a sub command that returns new lines
- Pass that command to fzf
- fzf fails, some sort of standard out issue
Source Code
Use the list command to test:
make build && sesh list | fzf
Expected behavior
I expect fzf can use the output for picking.
Additional context
I tried many things, like using fmt.PrintLn vs cmd.PrintLn and everything works as expected only when I remove fang.
Metadata
Metadata
Assignees
Labels
No labels