Skip to content

Commit d7ea43d

Browse files
committed
[Console] Add note about URL cutting of default output wrapper
1 parent 06db939 commit d7ea43d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

console/style.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,13 @@ User Input Methods
327327
Result Methods
328328
~~~~~~~~~~~~~~
329329

330+
.. note::
331+
332+
If you print any URL it won't be broken/cut, it will be clickable - if the terminal provides it. If the "well
333+
formatted output" is more important, you can switch it off::
334+
335+
$io->getOutputWrapper()->setAllowCutUrls(true);
336+
330337
:method:`Symfony\\Component\\Console\\Style\\SymfonyStyle::success`
331338
It displays the given string or array of strings highlighted as a successful
332339
message (with a green background and the ``[OK]`` label). It's meant to be

0 commit comments

Comments
 (0)