diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-12-15 22:13:38 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-12-15 22:13:38 +0000 |
commit | 56dee2c7eea20942f7df41298b658338616272ad (patch) | |
tree | 9b7e55e39f7fad14a7a3c5854f9ad5590239ad53 /src/windows.py | |
parent | 23aa5542b2189ec2ced42aef8e60762eaa27047e (diff) | |
download | poezio-56dee2c7eea20942f7df41298b658338616272ad.tar.gz poezio-56dee2c7eea20942f7df41298b658338616272ad.tar.bz2 poezio-56dee2c7eea20942f7df41298b658338616272ad.tar.xz poezio-56dee2c7eea20942f7df41298b658338616272ad.zip |
fix the issue of first private message received
Diffstat (limited to 'src/windows.py')
-rw-r--r-- | src/windows.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/windows.py b/src/windows.py index b137406d..f4524ff1 100644 --- a/src/windows.py +++ b/src/windows.py @@ -936,8 +936,8 @@ class Input(Win): def do_command(self, key, reset=True): if key in self.key_func: return self.key_func[key]() - # if not key or len(key) > 1: - # return False # ignore non-handled keyboard shortcuts + if not key or len(key) > 1: + return False # ignore non-handled keyboard shortcuts self.reset_completion() self.text = self.text[:self.pos+self.line_pos]+key+self.text[self.pos+self.line_pos:] (y, x) = self._win.getyx() |