^L now works

parent e07f6316
......@@ -141,7 +141,7 @@ class Core(object):
'M-r': self.go_to_roster,
'M-z': self.go_to_previous_tab,
'M-v': self.move_separator,
'^L': self.call_for_resize,
'^L': self.full_screen_redraw,
# Add handlers
......@@ -504,6 +504,7 @@ class Core(object):
A subscription changed, or we received a roster item
after a roster request, etc
for item in iq.findall('{jabber:iq:roster}query/{jabber:iq:roster}item'):
jid = item.attrib['jid']
contact = roster.get_contact_by_jid(jid)
......@@ -525,6 +526,13 @@ class Core(object):
if isinstance(self.current_tab(), tabs.RosterInfoTab):
def full_screen_redraw(self):
Completely erase and redraw the screen
def call_for_resize(self):
Starts a very short timer. If no other terminal resize
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