mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-12-05 06:10:02 -05:00
Made gutters configurable
This commit is contained in:
parent
057f24674f
commit
1fb7ed5b8d
3 changed files with 29 additions and 8 deletions
|
|
@ -162,6 +162,7 @@ class NomadNetworkApp:
|
|||
self.rrc_ui_space_msgs = False
|
||||
self.rrc_ui_render_markdown = True
|
||||
self.rrc_ui_render_micron = True
|
||||
self.rrc_show_gutters = False
|
||||
|
||||
if not os.path.isdir(self.storagepath):
|
||||
os.makedirs(self.storagepath)
|
||||
|
|
@ -1028,6 +1029,11 @@ class NomadNetworkApp:
|
|||
try: value = self.config["rrc"].as_bool(option)
|
||||
except Exception: value = True
|
||||
self.rrc_ui_render_micron = value
|
||||
|
||||
if option == "show_gutters":
|
||||
try: value = self.config["rrc"].as_bool(option)
|
||||
except Exception: value = False
|
||||
self.rrc_show_gutters = value
|
||||
|
||||
if "node" in self.config:
|
||||
if not "enable_node" in self.config["node"]:
|
||||
|
|
@ -1374,6 +1380,7 @@ render_micron = yes
|
|||
nick_colors = yes
|
||||
justify_msgs = yes
|
||||
space_msgs = no
|
||||
show_gutters = yes
|
||||
|
||||
# You can configure your own color theme
|
||||
# for nick color assignment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue