aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-22 02:50:35 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-22 02:50:35 +0200
commita9c0dedfbc908be9bef30101737f9e0a1a5112d1 (patch)
tree7208e192c17899e883ae4c2e4c48bcf19cb2addd
parentbeeed62f49f98fc2b29b8f057fd3499a22cad22b (diff)
downloadponysay-a9c0dedfbc908be9bef30101737f9e0a1a5112d1.tar.gz
ponysay-a9c0dedfbc908be9bef30101737f9e0a1a5112d1.tar.bz2
ponysay-a9c0dedfbc908be9bef30101737f9e0a1a5112d1.zip
wrap correction
-rw-r--r--CHANGELOG7
-rw-r--r--manuals/ponysay.texinfo7
-rwxr-xr-xponysay2
3 files changed, 15 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 9c56e93..da945ae 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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
diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo
index f5ca6af..77947aa 100644
--- a/manuals/ponysay.texinfo
+++ b/manuals/ponysay.texinfo
@@ -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
diff --git a/ponysay b/ponysay
index 50e19b2..1a69e01 100755
--- a/ponysay
+++ b/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)
'''