dirtywords

portable text interface framework  https://pypi.python.org/pypi/dirtywords
git clone https://git.ce9e.org/dirtywords.git

commit
fe387507cd3b60402b03fceea602f948a6648932
parent
5125f78e73ec5566852061d1c959e46e4597b6cb
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2014-10-07 18:44
forget about handling newlines in putstr

Diffstat

M dirtywords/base.py 1 -

1 files changed, 0 insertions, 1 deletions


diff --git a/dirtywords/base.py b/dirtywords/base.py

@@ -78,7 +78,6 @@ class Core(object):
   78    78 
   79    79     def putstr(self, y, x, s):
   80    80         """Write string to position."""
   81    -1         # TODO: handle newlines
   82    81         for i, ch in enumerate(s):
   83    82             try:
   84    83                 self.data[y][x + i] = ch