mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 22:07:58 +01:00
Too flashy
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
This commit is contained in:
commit
73172a1bc1
7 changed files with 12 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -15,6 +15,7 @@
|
|||
|
||||
## Compile files
|
||||
|
||||
/completion/*-completion.pony*
|
||||
/completion/*-completion-think.*
|
||||
/completion/pony*.pony*
|
||||
/truncater
|
||||
|
|
|
@ -2,6 +2,8 @@ Version 3.0.2
|
|||
|
||||
New ponies: deepblue, hairytipper, peachbottom, rainbowdrop, strawberrycream, wildflower
|
||||
|
||||
Default value for -W has been changed from 40 to 60.
|
||||
|
||||
Version 3.0.1
|
||||
|
||||
New ponies: harshwhinny
|
||||
|
|
|
@ -35,7 +35,7 @@ ponysay \- Cowsay reimplementation for ponies
|
|||
.\" respectively.
|
||||
\fBponysay\fP displays an image of a pony saying some text provided by the user in a terminal.
|
||||
If \fImessage\fP is not provided, it accepts standard input, word-wraps the message given at
|
||||
about 40 columns, and prints the pony saying the given message on standard output.
|
||||
about 60 columns, and prints the pony saying the given message on standard output.
|
||||
.PP
|
||||
If no arguments are provided, the program only accepts standard input piped from another
|
||||
program, a file or either here documents or here strings (see man bash(1) for details on here
|
||||
|
|
|
@ -37,7 +37,7 @@ ponysay \- Una reimplementación de cowsay usando ponis
|
|||
terminal.
|
||||
.br
|
||||
Si el \fImesaje\fP no es provisto, ponysay aceptará una orden estándar.
|
||||
El mensaje debería de tener alrededor de 40 columnas, y el o la poni devería de mostrar este
|
||||
El mensaje debería de tener alrededor de 60 columnas, y el o la poni devería de mostrar este
|
||||
mensaje
|
||||
en una salida estándar.
|
||||
.PP
|
||||
|
|
|
@ -282,7 +282,7 @@ balloon style is specified a fallback style will be used.
|
|||
@itemx --wrap COLUMN
|
||||
@opindex @option{-W}
|
||||
@opindex @option{--wrap}
|
||||
Specify the screen column where the message should be wrapped, this is by default 40,
|
||||
Specify the screen column where the message should be wrapped, this is by default 460,
|
||||
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
|
||||
|
@ -3006,6 +3006,8 @@ sequences.
|
|||
@item
|
||||
New ponies: @file{deepblue}, @file{hairytipper}, @file{peachbottom}, @file{rainbowdrop}, @file{strawberrycream},
|
||||
@file{wildflower}
|
||||
@item
|
||||
Default value for @option{-W}, the message wrapping column, has been changed from 40 to 60, to wrap messages better.
|
||||
@end itemize
|
||||
|
||||
@heading Version 3.0.1
|
||||
|
|
|
@ -20,9 +20,9 @@ HEIGHT: 23
|
|||
|
||||
|
||||
$$$
|
||||
$\$ [00m
|
||||
$\$ [00m
|
||||
$\$ [00m
|
||||
$balloon34$
|
||||
$\$ [00m
|
||||
$\$ [00m
|
||||
$\$ [00m
|
||||
[38;5;175m▄▄[48;5;175;38;5;225m▄▄▄▄▄[38;5;175m█[49m▀▄[39m[00m
|
||||
[38;5;104m▄[48;5;104;38;5;147m▄▄[38;5;104m█[49;38;5;175m▄[48;5;175;38;5;225m▄[48;5;225;38;5;182m▄▄[48;5;182;38;5;225m▄▄▄[48;5;225;38;5;182m▄[38;5;225m██[48;5;175;38;5;175m█[49;39m [00m
|
||||
|
|
|
@ -905,7 +905,7 @@ class Ponysay():
|
|||
env_width = os.environ['PONYSAY_FULL_WIDTH'] if 'PONYSAY_FULL_WIDTH' in os.environ else None
|
||||
if env_width is None: env_width = ''
|
||||
widthtruncation = gettermsize()[1] if env_width not in ('yes', 'y', '1') else None
|
||||
messagewrap = 40
|
||||
messagewrap = 60
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue