Fix multiline prop

This commit is contained in:
Mark Qvist 2024-12-12 08:53:20 +01:00
parent bec7612428
commit 7b38d4f80e

View File

@ -168,7 +168,7 @@ def parse_line(line, state, url_delegate):
fn = o["name"] fn = o["name"]
fs = o["style"] fs = o["style"]
fmask = "*" if o["masked"] else None fmask = "*" if o["masked"] else None
f = urwid.Edit(caption="", edit_text=fd, align=state["align"], multiline=False, mask=fmask) f = urwid.Edit(caption="", edit_text=fd, align=state["align"], multiline=True, mask=fmask)
f.field_name = fn f.field_name = fn
fa = urwid.AttrMap(f, fs) fa = urwid.AttrMap(f, fs)
widgets.append((fw, fa)) widgets.append((fw, fa))