summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/core.py8
-rw-r--r--src/core/handlers.py1
-rw-r--r--src/windows/base_wins.py1
3 files changed, 0 insertions, 10 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]
diff --git a/src/core/handlers.py b/src/core/handlers.py
index 828c39d1..96f8215f 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -1237,7 +1237,6 @@ def validate_ssl(self, pem):
'Warning')
def check_input():
self.current_tab().input = saved_input
- self.paused = False
if input.value:
self.information('Setting new certificate: old: %s, new: %s' % (cert, sha2_found_cert), 'Info')
log.debug('Setting certificate to %s', sha2_found_cert)
diff --git a/src/windows/base_wins.py b/src/windows/base_wins.py
index 574eee89..915242a9 100644
--- a/src/windows/base_wins.py
+++ b/src/windows/base_wins.py
@@ -13,7 +13,6 @@ log = logging.getLogger(__name__)
import collections
import curses
import string
-from threading import RLock
import core
import singleton