From beb6fab662faae03f98b303d87235dd065402184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Thu, 31 Oct 2013 07:30:39 +0100 Subject: [PATCH] change default wrapping column to 65 from 60 (was 40 in the last release), as discussed in issue 172 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- manuals/ponysay.texinfo | 4 ++-- src/ponysay.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo index b0889fd2..46b81985 100644 --- a/manuals/ponysay.texinfo +++ b/manuals/ponysay.texinfo @@ -372,7 +372,7 @@ balloon style is specified a fallback style will be used. @opindex @option{-W} @opindex @option{--wrap} Specify the screen column where the message should be wrapped, this is by -default 60, as with @command{cowsay}. The balloon's extra width is taken into +default 65, as with @command{cowsay}. The balloon's extra width is taken into consideration. If the argument is not a number, but starts instead with @code{n} (for ‘none’ or @@ -3361,7 +3361,7 @@ Pony symlink added: @end itemize @item Default value for @option{-W}, the message wrapping column, has been changed -from 40 to 60, to wrap messages better. +from 40 to 65, to wrap messages better. @item @file{nightmare} has renamed into @file{nightmaremoon} for concistency with the comic diff --git a/src/ponysay.py b/src/ponysay.py index 979a415e..7562e7a6 100755 --- a/src/ponysay.py +++ b/src/ponysay.py @@ -1051,7 +1051,7 @@ class Ponysay(): @param args:ArgParser Command line options @return :int? The message balloon wrapping column, or `None` if disabled ''' - messagewrap = 60 + messagewrap = 65 if (args.opts['-W'] is not None) and (len(args.opts['-W'][0]) > 0): messagewrap = args.opts['-W'][0] if messagewrap[0] in 'nmsNMS': # m is left to n on QWERTY and s is left to n on Dvorak