mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-04 23:25:27 -04:00
Added log display
This commit is contained in:
parent
48f3cd50c7
commit
8aec40fba2
6 changed files with 92 additions and 5 deletions
21
nomadnet/ui/textui/Config.py
Normal file
21
nomadnet/ui/textui/Config.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
class ConfigDisplayShortcuts():
|
||||
def __init__(self, app):
|
||||
import urwid
|
||||
self.app = app
|
||||
|
||||
self.widget = urwid.AttrMap(urwid.Text("Config Display Shortcuts"), "shortcutbar")
|
||||
|
||||
class ConfigDisplay():
|
||||
def __init__(self, app):
|
||||
import urwid
|
||||
self.app = app
|
||||
|
||||
pile = urwid.Pile([
|
||||
urwid.Text(("body_text", "Config Display \U0001F332")),
|
||||
])
|
||||
|
||||
self.shortcuts_display = ConfigDisplayShortcuts(self.app)
|
||||
self.widget = urwid.Filler(pile, 'top')
|
||||
|
||||
def shortcuts(self):
|
||||
return self.shortcuts_display
|
Loading…
Add table
Add a link
Reference in a new issue