aboutsummaryrefslogtreecommitdiffstats
path: root/src/editor.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-10 09:27:21 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-10 09:27:21 +0200
commit988f8dc0667f036eb1bafc7d5a000d90574d3c9b (patch)
treed4b107a756f23166a78a550da9bc62f9c9422249 /src/editor.py
parentcleanup (diff)
downloadpytagomacs-988f8dc0667f036eb1bafc7d5a000d90574d3c9b.tar.gz
pytagomacs-988f8dc0667f036eb1bafc7d5a000d90574d3c9b.tar.bz2
pytagomacs-988f8dc0667f036eb1bafc7d5a000d90574d3c9b.tar.xz
fix delete key regression
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/editor.py')
-rw-r--r--src/editor.py6
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