Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
204
Issues
204
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
acd04786
Commit
acd04786
authored
Dec 17, 2010
by
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
^L now works
parent
e07f6316
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/core.py
src/core.py
+9
-1
No files found.
src/core.py
View file @
acd04786
...
...
@@ -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
"""
print
(
sdfsdf
)
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
):
self
.
refresh_window
()
def
full_screen_redraw
(
self
):
"""
Completely erase and redraw the screen
"""
self
.
stdscr
.
clear
()
self
.
call_for_resize
()
def
call_for_resize
(
self
):
"""
Starts a very short timer. If no other terminal resize
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment