Verified Commit ab3c3827 authored by mathieui's avatar mathieui

Cleanup: remove sone unused code and threading stuff

parent 39ed7e35
......@@ -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]
......
......@@ -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)
......
......@@ -13,7 +13,6 @@ log = logging.getLogger(__name__)
import collections
import curses
import string
from threading import RLock
import core
import singleton
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment