mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-10-26 10:51:40 -04:00
Close/leave room with ctrl-w
This commit is contained in:
parent
7315eb3edb
commit
a3c8b6246b
1 changed files with 2 additions and 2 deletions
|
|
@ -187,7 +187,7 @@ class ChannelsListShortcuts():
|
|||
class ChannelsRoomShortcuts():
|
||||
def __init__(self, app):
|
||||
self.app = app
|
||||
self.widget = urwid.AttrMap(urwid.Text("[C-d] Send [C-l] Leave [C-k] Clear [C-u] Users [C-y] Channels [F8] Collapse Joins [Tab] Focus"), "shortcutbar")
|
||||
self.widget = urwid.AttrMap(urwid.Text("[C-d] Send [C-w] Leave [C-k] Clear [C-u] Users [C-y] Channels [F8] Collapse Joins [Tab] Focus"), "shortcutbar")
|
||||
|
||||
|
||||
class ChannelsDialogLineBox(urwid.LineBox):
|
||||
|
|
@ -386,7 +386,7 @@ class RoomMessageEdit(urwid.Edit):
|
|||
self.delegate.send_message()
|
||||
elif key == "ctrl k":
|
||||
self.set_edit_text("")
|
||||
elif key == "ctrl l":
|
||||
elif key == "ctrl w":
|
||||
self.delegate.leave_room()
|
||||
elif key == "ctrl u":
|
||||
self.delegate.toggle_users()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue