From 543adf32cffcb61361feaac27ebbb51cd2e954f2 Mon Sep 17 00:00:00 2001 From: "Peter D. Gray" Date: Tue, 15 Aug 2023 13:05:04 -0400 Subject: [PATCH] fixes --- shared/ux_q1.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shared/ux_q1.py b/shared/ux_q1.py index 8973c2a4..71cc86b4 100644 --- a/shared/ux_q1.py +++ b/shared/ux_q1.py @@ -135,6 +135,8 @@ async def ux_input_text(value, confirm_exit=True, hex_only=False, max_len=100, from glob import dis from ux import ux_show_story + value = value or '' + dis.clear() if b39_complete: @@ -578,8 +580,8 @@ def ux_dice_rolling(): dis.text(None, 4, '%d rolls so far' % count, invert=1) if hx is not None: - dis.text(0, -2, hx[0:32]+'-') - dis.text(2, -1, ''+hx[32:]) + dis.text(0, -2, hx[0:32]+'-', dark=True) + dis.text(2, -1, ''+hx[32:], dark=True) dis.show()