dirtywords

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

commit
eb72119b3710673e9fa1e4abae5963d8254552cc
parent
d591bdc7b97eecdbfac5ade031be639c3b9ff7fc
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2014-10-18 08:52
Fix: dont ignore blocking in stupid getch

Diffstat

M dirtywords/stupid.py 2 +-

1 files changed, 1 insertions, 1 deletions


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

@@ -50,7 +50,7 @@ class Screen(base.Screen):
   50    50         # Convert ANSI escape sequences to key constants
   51    51         # This is implemented as a wrapper around :py:meth:`_getch` because
   52    52         # it needs to get a variable number of bytes from stdin.
   53    -1         l = [self._getch()]
   -1    53         l = [self._getch(blocking=blocking)]
   54    54 
   55    55         if l == [27]:
   56    56             # TODO: single ESC is valid, so this should not block