[BUG] Long links get wrapped and becom non-clickable
Resolved 💬 2 comments Opened Oct 7, 2025 by nikic Closed Oct 7, 2025
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When Claude's response include a long link, it will get wrapped at the terminal width, and the start of the next line indented. Something like this:
https://google.com/this_is_a_very_long_url_omg_its_so_long_will_it_ever_st
op_no_it_wont
This means that only the first part of the link is clickable. To open the full link one has to copy&paste both parts and reassemble them.
(The actual use case are reference links produced by an MCP server.)
What Should Happen?
The link should be printed without wrapping, so that it remains clickable.
Error Messages/Logs
Steps to Reproduce
Create a test.md with these contents:
# Foobar
https://google.com/this_is_a_very_long_url_omg_its_so_long_will_it_ever_stop_no_it_wont
Then run claude and prompt Render the contents of test.md please. The result is:
> Render the contents of test.md please
● I'll read the contents of test.md for you.
● Read(test.md)
⎿ Read 4 lines (ctrl+o to expand)
● Foobar
https://google.com/this_is_a_very_long_url_omg_its_so_long_will_it_ever_st
op_no_it_wont
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.9
Platform
Google Vertex AI
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
Other Linux = Fedora 42, Terminal = GNOME Terminal
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗