• Vadim Bendebury (вб)'s avatar
    menuconfig: wrap long help lines · da60fbbc
    Vadim Bendebury (вб) authored
    Help text for certain config options is very extensive (the text
    includes the names of all  other options the option in question depends
    on). Long lines are not wrapped, making it impossible to see the list
    without scrolling horizontally.
    
    This patch adds some logic which wraps help screen lines at word
    boundaries to prevent truncating.
    
    Tested by running
    
      ARCH=powerpc make menuconfig O=/tmp/build
    
    which shows that the long lines are now wrapped, and
    
     ARCH=powerpc make xconfig O=/tmp/build
    
    to demonstrate that it still compiles and operates as expected.
    Signed-off-by: default avatarVadim Bendebury <vbendeb@google.com>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    da60fbbc
expr.c 25.8 KB