diff options
author | mathieui <mathieui@mathieui.net> | 2015-05-31 23:25:26 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-05-31 23:25:26 +0200 |
commit | ab3c38270950435e0c25d2a6fb973e6bbfd04f77 (patch) | |
tree | 0c0d5257629e2cd9f16975610cbf76048bf0d334 /src/core/core.py | |
parent | 39ed7e35cc1f2a6838742ad47c7f83a87d8f92af (diff) | |
download | poezio-ab3c38270950435e0c25d2a6fb973e6bbfd04f77.tar.gz poezio-ab3c38270950435e0c25d2a6fb973e6bbfd04f77.tar.bz2 poezio-ab3c38270950435e0c25d2a6fb973e6bbfd04f77.tar.xz poezio-ab3c38270950435e0c25d2a6fb973e6bbfd04f77.zip |
Cleanup: remove sone unused code and threading stuff
Diffstat (limited to 'src/core/core.py')
-rw-r--r-- | src/core/core.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/core.py b/src/core/core.py index d2c17fd7..a9ba8581 100644 --- a/src/core/core.py +++ b/src/core/core.py @@ -16,7 +16,6 @@ import os import pipes import sys import time -from threading import Event from slixmpp.xmlstream.handler import Callback @@ -72,8 +71,6 @@ class Core(object): roster.set_node(self.xmpp.client_roster) decorators.refresh_wrapper.core = self self.bookmarks = BookmarkList() - self.paused = False - self.event = Event() self.debug = False self.remote_fifo = None # a unique buffer used to store global informations @@ -612,11 +609,6 @@ class Core(object): # whether to refresh after ALL keys have been handled for char_list in separate_chars_from_bindings(big_char_list): - if self.paused: - self.current_tab().input.do_command(char_list[0]) - self.current_tab().input.prompt() - self.event.set() - continue # Special case for M-x where x is a number if len(char_list) == 1: char = char_list[0] |