diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-01-27 23:02:12 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-01-27 23:02:12 +0000 |
commit | e724584faa026c95362d85500351668b0d21290c (patch) | |
tree | e00a584c537005a286ac3beedae7e783d69c5274 /src/gui.py | |
parent | 40f3dad56bd5cdb05e970797e48f18d2fdb364dd (diff) | |
download | poezio-e724584faa026c95362d85500351668b0d21290c.tar.gz poezio-e724584faa026c95362d85500351668b0d21290c.tar.bz2 poezio-e724584faa026c95362d85500351668b0d21290c.tar.xz poezio-e724584faa026c95362d85500351668b0d21290c.zip |
corrige la deconnexion sur les conneries du genre ctrl+x. Et desactive C-c en mode pas-debug
Diffstat (limited to 'src/gui.py')
-rw-r--r-- | src/gui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -154,6 +154,8 @@ class Gui(object): self.execute() elif ord(key) == 8 or ord(key) == 127: self.window.input.key_backspace() + elif ord(key) < 32: + continue else: if ord(key) == 27 and ord(stdscr.getkey()) == 91 \ and ord(stdscr.getkey()) == 51: # FIXME: ugly ugly workaroung. @@ -202,12 +204,10 @@ class Gui(object): def rotate_rooms_left(self, args): self.rooms.append(self.rooms.pop(0)) - self.stdscr.touchwin() self.window.refresh(self.current_room()) def rotate_rooms_right(self, args): self.rooms.insert(0, self.rooms.pop()) -# self.stdscr.touchwin() self.window.refresh(self.current_room()) def room_message(self, stanza): |