Improved message markup handling

This commit is contained in:
Mark Qvist 2024-12-09 16:10:32 +01:00
parent 3b8700c197
commit fbb58eb7b9
3 changed files with 15 additions and 7 deletions

View file

@ -566,6 +566,15 @@ class SidebandApp(MDApp):
fn_italic=fb_path+"NotoSans-Italic.ttf",
fn_bolditalic=fb_path+"NotoSans-BoldItalic.ttf")
LabelBase.register(name="mono",
fn_regular=fb_path+"RobotoMonoNerdFont-Regular.ttf")
LabelBase.register(name="term",
fn_regular=fb_path+"BigBlueTerm437NerdFont-Regular.ttf")
LabelBase.register(name="nf",
fn_regular=fb_path+"RobotoMonoNerdFont-Regular.ttf")
def update_input_language(self):
language = self.sideband.config["input_language"]
if language == None: