You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/12 08:27:00 UTC

[jira] [Commented] (MNG-7477) Adapt the maven output to the width of the terminal

    [ https://issues.apache.org/jira/browse/MNG-7477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17535963#comment-17535963 ] 

ASF GitHub Bot commented on MNG-7477:
-------------------------------------

gnodet opened a new pull request, #737:
URL: https://github.com/apache/maven/pull/737

   PR for testing.
   A few things:
     * I had to redefine the `getTerminalWidth()` method to take into account the fact that the output can be redirected, in which case the previous `getTerminalWidth()` returns the width of the console using the err stream.
     *  the exact behavior when the output is redirected needs to be chosen: the behavior could depend if the output is actually padded or not, or the output could be padded only in the case the output is actually displayed on the console.  The behavior with this PR is to consider a default width of 80, thereby using the previous behavior




> Adapt the maven output to the width of the terminal
> ---------------------------------------------------
>
>                 Key: MNG-7477
>                 URL: https://issues.apache.org/jira/browse/MNG-7477
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 3.9.0-candidate
>
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)