mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-26 06:07:59 +01:00
wrap correction
This commit is contained in:
parent
beeed62f49
commit
a9c0dedfbc
3 changed files with 15 additions and 1 deletions
|
@ -4,6 +4,13 @@ Version 2.3
|
|||
|
||||
`-q` accepts file names.
|
||||
|
||||
Improved Unicode support: treats combining characters as invisible
|
||||
|
||||
Optional support for UCS pony names
|
||||
|
||||
Pony files and balloon style files can be pipes (as
|
||||
well as sockets, doors and as always regular files.)
|
||||
|
||||
|
||||
Version 2.2
|
||||
|
||||
|
|
|
@ -1138,6 +1138,13 @@ first pony file in common.
|
|||
Support for @code{best.pony} file.
|
||||
@item
|
||||
@code{-q} accepts file names.
|
||||
@item
|
||||
Improved Unicode support: treats combining characters as invisible
|
||||
@item
|
||||
Optional support for UCS pony names
|
||||
@item
|
||||
Pony files and balloon style files can be pipes (as well as sockets, doors
|
||||
and as always regular files)
|
||||
@end itemize
|
||||
|
||||
@heading Version 2.2
|
||||
|
|
2
ponysay
2
ponysay
|
@ -1305,7 +1305,7 @@ class Backend():
|
|||
msg = self.__wrapMessage(msg, wrap)
|
||||
lines = msg.split('\n')
|
||||
|
||||
return self.balloon.get(width, height, lines, lambda text : self.__len(text) - UCS.countCombining(text))
|
||||
return self.balloon.get(width, height, lines, self.__len)
|
||||
|
||||
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue