summaryrefslogtreecommitdiff
path: root/src/window.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-24 00:01:15 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-24 00:01:15 +0000
commit39b0075679ebf0a6c9dc2333c8f9bd08bfabbdcf (patch)
treedf379bcb6de6f0ceb96ca34936fa9cdbd83e6de0 /src/window.py
parent17368d3d417b294feb44a843acf1e1d92afecb31 (diff)
downloadpoezio-39b0075679ebf0a6c9dc2333c8f9bd08bfabbdcf.tar.gz
poezio-39b0075679ebf0a6c9dc2333c8f9bd08bfabbdcf.tar.bz2
poezio-39b0075679ebf0a6c9dc2333c8f9bd08bfabbdcf.tar.xz
poezio-39b0075679ebf0a6c9dc2333c8f9bd08bfabbdcf.zip
Fixes blink on key_up key_down. Also do not set a room as 'urgent' when receiving an history message
Diffstat (limited to 'src/window.py')
-rw-r--r--src/window.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.py b/src/window.py
index 22709436..c62dd869 100644
--- a/src/window.py
+++ b/src/window.py
@@ -332,7 +332,7 @@ class Input(Win):
if not len(self.history):
return
self.reset_completion()
- self.win.clear()
+ self.win.erase()
if self.histo_pos >= 0:
self.histo_pos -= 1
self.text = self.history[self.histo_pos+1]
@@ -347,7 +347,7 @@ class Input(Win):
if not len(self.history):
return
self.reset_completion()
- self.win.clear()
+ self.win.erase()
if self.histo_pos < len(self.history)-1:
self.histo_pos += 1
self.text = self.history[self.histo_pos]