Line Wrapping is permanent in `goose-cli`
Describe the bug
goose cli manually wraps lines.
Thank you for your work, btw ♥️
To Reproduce Steps to reproduce the behavior:
- Run your prompt in a smaller window
- Wait for the
gooseresponse - Expand your window
- See that
gooseresponse still maintains the previous, smaller width
Expected behavior Line's get expanded to the wider size.
Screenshots
Please provide following information:
- OS & Arch: [macOs 15]
- Interface: [CLI]
- Version: [v1.0.7]
Additional context
It's important that goose doesn't do the wrapping of lines itself, because if you copy out code (a normal use case) from goose with manually wrapped lines, your code now has random newlines which you need to fix.
thanks for letting us know! We're unlikely going to address this because goose outputs to stdout in a pretty simple way, and I don't see a straightforward way to re-render stdout on the terminal. Let me know if you think otherwise!
Also you could start with using a bigger terminal window
Thanks for the answer :)
I am not sure if the stdout printing is as expected, as there's an actual linebreak/newline when i copy out the code from the window, which breaks the code. this is the biggest gripe for me currently.
tmux split panes is the reason my terminal pane is smaller, i am running goose in one pane and git/whatever in the pane right next to it ☺️
It seems to be caused by a configuration option when printing Markdown text. I opened a PR to fix this.