You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flutter cli output should have a constrained character width #23074
Some flutter help commands have very long lines, which look inconsistent and can be unreadable in very wide terminals. wrapping also becomes ugly for indenting text. Usually, commands will constrain their output to a certain character width, such as 80 characters.
Shorted width looks much nicer and more consistent, and is also easier to read.
Ah, I forgot to mention this is specifically for the help menus, I think it's fine if normal output is constrained to terminal width. I should have been more specific about that. Below are a few examples. As you can see, the wrapping doesn't look very nice and makes the text unreadable.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
zoechi commentedon Oct 15, 2018
Looks related to #22831
@gspencergoog ?
zoechi commentedon Oct 15, 2018
Please add the output of
flutter doctor -v.gspencergoog commentedon Oct 15, 2018
You can specify the wrapping width with
--wrap-column. It defaults to the width of the terminal, because for most users this is the right answer.cherryman commentedon Oct 17, 2018
Ah, I forgot to mention this is specifically for the help menus, I think it's fine if normal output is constrained to terminal width. I should have been more specific about that. Below are a few examples. As you can see, the wrapping doesn't look very nice and makes the text unreadable.
flutter build apk --helpflutter analyze --helpgspencergoog commentedon Feb 21, 2019
Turns out that, due to an oversight, some commands were not getting their usage wrapped. This should be fixed when #28264 lands.
Fix the length of the valueHelp on the --sample option for the create…
github-actions commentedon Aug 14, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.