diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-10 09:27:21 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-10 09:27:21 +0200 |
| commit | 988f8dc0667f036eb1bafc7d5a000d90574d3c9b (patch) | |
| tree | d4b107a756f23166a78a550da9bc62f9c9422249 | |
| parent | cleanup (diff) | |
| download | pytagomacs-988f8dc0667f036eb1bafc7d5a000d90574d3c9b.tar.gz pytagomacs-988f8dc0667f036eb1bafc7d5a000d90574d3c9b.tar.bz2 pytagomacs-988f8dc0667f036eb1bafc7d5a000d90574d3c9b.tar.xz | |
fix delete key regression
Signed-off-by: Mattias Andrée <maandree@operamail.com>
| -rw-r--r-- | src/editor.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editor.py b/src/editor.py index b1376b9..4f0386d 100644 --- a/src/editor.py +++ b/src/editor.py @@ -489,10 +489,10 @@ class TextArea(): if key in value_map: if required_next is not None: if sys.stdin.read(1) != required_next: - return True + return False stored = value_map[key] - return False - return True + return True + return False def edit(method, error_message): nonlocal edited |
