mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-03-27 09:08:21 -04:00
Added alternative save node hotkey. Added save hotkey to hotkeys list.
This commit is contained in:
parent
3d0043499c
commit
f0a4efa28b
@ -23,6 +23,8 @@ class BrowserFrame(urwid.Frame):
|
|||||||
self.delegate.url_dialog()
|
self.delegate.url_dialog()
|
||||||
elif key == "ctrl s":
|
elif key == "ctrl s":
|
||||||
self.delegate.save_node_dialog()
|
self.delegate.save_node_dialog()
|
||||||
|
elif key == "ctrl b":
|
||||||
|
self.delegate.save_node_dialog()
|
||||||
elif key == "ctrl g":
|
elif key == "ctrl g":
|
||||||
nomadnet.NomadNetworkApp.get_shared_instance().ui.main_display.sub_displays.network_display.toggle_fullscreen()
|
nomadnet.NomadNetworkApp.get_shared_instance().ui.main_display.sub_displays.network_display.toggle_fullscreen()
|
||||||
elif self.get_focus() == "body":
|
elif self.get_focus() == "body":
|
||||||
|
@ -13,7 +13,7 @@ class NetworkDisplayShortcuts():
|
|||||||
self.app = app
|
self.app = app
|
||||||
g = app.ui.glyphs
|
g = app.ui.glyphs
|
||||||
|
|
||||||
self.widget = urwid.AttrMap(urwid.Text("[C-l] Nodes/Announces [C-x] Remove [C-w] Disconnect [C-d] Back [C-f] Forward [C-r] Reload [C-u] URL [C-g] Fullscreen"), "shortcutbar")
|
self.widget = urwid.AttrMap(urwid.Text("[C-l] Nodes/Announces [C-x] Remove [C-w] Disconnect [C-d] Back [C-f] Forward [C-r] Reload [C-u] URL [C-g] Fullscreen [C-s / C-b] Save"), "shortcutbar")
|
||||||
# "[C-"+g["arrow_u"]+g["arrow_d"]+"] Navigate Lists"
|
# "[C-"+g["arrow_u"]+g["arrow_d"]+"] Navigate Lists"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user