mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-07 00:25:04 -04:00
Implemented micron markup parser
This commit is contained in:
parent
4c226b7e00
commit
2f2fdd6a0c
5 changed files with 909 additions and 244 deletions
|
@ -20,6 +20,7 @@ THEMES = {
|
|||
# Style name # 16-color style # Monochrome style # 88, 256 and true-color style
|
||||
('heading', 'light gray,underline', 'default', 'underline', 'g93,underline', 'default'),
|
||||
('menubar', 'black', 'light gray', 'standout', '#111', '#bbb'),
|
||||
('scrollbar', 'black', 'light gray', 'standout', '#444', 'default'),
|
||||
('shortcutbar', 'black', 'light gray', 'standout', '#111', '#bbb'),
|
||||
('body_text', 'white', 'default', 'default', '#ddd', 'default'),
|
||||
('error_text', 'dark red', 'default', 'default', 'dark red', 'default'),
|
||||
|
@ -91,9 +92,6 @@ class TextUI:
|
|||
|
||||
self.palette = THEMES[theme]["urwid_theme"]
|
||||
|
||||
for entry in nomadnet.ui.textui.MarkupParser.URWID_THEME:
|
||||
self.palette.append(entry)
|
||||
|
||||
if self.app.config["textui"]["glyphs"] == "plain":
|
||||
glyphset = "plain"
|
||||
elif self.app.config["textui"]["glyphs"] == "unicoode":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue