summaryrefslogtreecommitdiff
path: root/src/window.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.py')
-rw-r--r--src/window.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.py b/src/window.py
index 55910031..382e88de 100644
--- a/src/window.py
+++ b/src/window.py
@@ -183,7 +183,8 @@ class Input(Win):
return
(y, x) = self.win.getyx()
self.text = self.text[:self.pos]+self.text[self.pos+1:]
- self.win.delch(y, x-1)
+ self.win.delch(y, x)
+ self.refresh()
def key_up(self):
self.win.clear()